TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000128TADS 3Interpreterpublic2012-01-25 09:262012-04-27 02:05
Assigned ToMichael Roberts 
PlatformIntelOSWindowsOS VersionVista
Summary0000128: Can't write to modified intrinsic types via self-indexing
DescriptionIn a method added to a modified List (or Vector, ByteArray, StringBuffer), it's possible to access elements using "self[idx]", but in the most recent version, trying to write values using the same syntax results in an exception: "invalid index operation - this type of value cannot be indexed".
Steps To ReproduceHere's an example:

modify List
        local val = self[1]; // works
        self[1] = val; // doesn't work
TagsNo tags attached.
Fixed In Version3.1.1
Attached Files

- Relationships

-  Notes
Michael Roberts (administrator)
2012-04-27 02:05

Fixed. (The problem was a code generation bug in the compiler, related to changes made in 3.1.0 to allow overloading of the []= operator.)

- Issue History
Date Modified Username Field Change
2012-01-25 09:26 fundin New Issue
2012-04-27 02:05 Michael Roberts Fixed In Version => 3.1.1
2012-04-27 02:05 Michael Roberts Note Added: 0000229
2012-04-27 02:05 Michael Roberts Assigned To => Michael Roberts
2012-04-27 02:05 Michael Roberts Status new => resolved
2012-04-27 02:05 Michael Roberts Resolution open => fixed

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker