Changes between Initial Version and Version 4 of Ticket #767
- Timestamp:
- 06/17/09 21:57:32 (13 years ago)
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 }}} 1 A variety of code generating tools (PGE, PCT) like the ability 2 to be able to re-declare an existing symbol (but always with the 3 same type). 10 4 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. 5 Personally, I'd like to see that redeclaring a symbol with the same 6 type is allowed in PIR , but redeclaring with a different type 7 throws an error. 8 9 Pm