Ticket #1595 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

[PATCH][PCT]removed deprecated in-place ops

Reported by: jimmy Owned by:
Priority: normal Milestone:
Component: none Version: 2.3.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description (last modified by dukeleto) (diff)

Index: compilers/pct/src/PAST/Compiler.pir
===================================================================
--- compilers/pct/src/PAST/Compiler.pir	(revision 46063)
+++ compilers/pct/src/PAST/Compiler.pir	(working copy)
@@ -102,7 +102,8 @@
     piropsig['splice']     = 'PPii'
     piropsig['split']      = 'Pss'
     piropsig['sub']        = 'PP+'
-    piropsig['substr']     = 'Ssiis'
+    piropsig['substr']     = 'Ssii'
+    piropsig['replace']    = 'Ssiis'
     piropsig['pow']        = 'NN+'
     piropsig['print']      = 'v*'
     piropsig['say']        = 'v*'

Attachments

TT#1595.patch Download (0.6 KB) - added by jimmy 5 years ago.

Change History

Changed 5 years ago by jimmy

Changed 5 years ago by jimmy

  • status changed from new to closed
  • resolution set to fixed

Applied in r46100.

Changed 5 years ago by dukeleto

  • description modified (diff)

Changed 5 years ago by dukeleto

downcase was changed in the original patch, but since downcase is not an in-place operator, it was not modified.

Note: See TracTickets for help on using tickets.