MantisBT - Core Inform
View Issue Details
0001004Core InformKinds and type checkingpublic2012-09-19 16:392014-05-07 07:34
EmacsUser 
graham 
normalmildalways
closedfixed 
x86Mac OS X10.5
6G60 
6L02 
(mild) Compiler accepts invalid code
0001004: Compiler accepts modifications to r-values resulting from implicit casts
The attached source compiles, despite the fact that "x" cannot be cast to indexed text without destroying its l-value status.
There is a room.
When play begins:
replace character number 1 in "x" with character number 1 in "y".
Taken from http://www.intfiction.org/forum/viewtopic.php?f=7&t=5482#p39919. [^]

Possibly the same as 0000366, depending on what's going on under the hood.
No tags attached.
related to 0000366closed graham Compiler accepts modifications to constant lists and other putative r-values 
Issue History
2012-09-19 16:39EmacsUserNew Issue
2012-09-19 16:39EmacsUserIssue generated from0000366
2012-09-19 16:39EmacsUserRelationship addedrelated to 0000366
2012-09-22 20:02curiousdanniiNote Added: 0001846
2012-09-22 20:02curiousdanniiStatusnew => acknowledged
2013-03-30 08:17jmcgrewStatusacknowledged => confirmed
2014-01-04 09:50grahamNote Added: 0002244
2014-01-04 09:50grahamStatusconfirmed => resolved
2014-01-04 09:50grahamResolutionopen => fixed
2014-01-04 09:50grahamAssigned To => graham
2014-05-07 07:34jmcgrewFixed in Version => 6L02
2014-05-07 07:34jmcgrewStatusresolved => closed

Notes
(0001846)
curiousdannii   
2012-09-22 20:02   
Marking as acknowledged as it does indeed compile, though I'm not sure what the correct behaviour should be.
(0002244)
graham   
2014-01-04 09:50   
Yes, same as 0000366 (but not 1097).