Changes between Initial Version and Version 4 of Ticket #767

Show
Ignore:
Timestamp:
06/17/09 21:57:32 (13 years ago)
Author:
pmichaud
Comment:

Replying to cotto:

This ticket comes from RT #37245. Basically, imcc allows the following code to run, which it obviously shouldn't. {{{ .sub foo .local pmc bar .local int bar bar = 2 print bar .end }}} This is a known bug, but because imcc is on the way out it's not worth fixing. This bug isn't currently known to block anything, but it can be reopened if it becomes a blocker.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #767

    • Property status changed from new to reopened
    • Property patch changed from to new
  • Ticket #767 – description

    initial v4  
    1 This ticket comes from RT #37245.  Basically, imcc allows the following code to run, which it obviously shouldn't. 
    2 {{{ 
    3 .sub foo 
    4   .local pmc bar 
    5   .local int bar 
    6   bar = 2 
    7   print bar 
    8 .end 
    9 }}} 
     1A variety of code generating tools (PGE, PCT) like the ability 
     2to be able to re-declare an existing symbol (but always with the 
     3same type). 
    104 
    11 This is a known bug, but because imcc is on the way out it's not worth fixing.  This bug isn't currently known to block anything, but it can be reopened if it becomes a blocker. 
     5Personally, I'd like to see that redeclaring a symbol with the same 
     6type is allowed in PIR , but redeclaring with a different type 
     7throws an error. 
     8 
     9Pm