Skip to content

MiniExpr no longer supports list indexing#257

Merged
SpaceManiac merged 2 commits intoSpaceManiac:masterfrom
sohpeach:miniexpr
Mar 24, 2021
Merged

MiniExpr no longer supports list indexing#257
SpaceManiac merged 2 commits intoSpaceManiac:masterfrom
sohpeach:miniexpr

Conversation

@sohpeach
Copy link
Copy Markdown
Contributor

I noticed that this was different from BYOND's behaviour where new x[y] actually compiles as (new x)[y]. The same behaviour applies for new x?[y] so I don't anticipate the code I am removing being needed for that.

I confirmed that BYOND has been compiling it this way since at least 513.1490, so if it changed it was long ago.

Copy link
Copy Markdown
Owner

@SpaceManiac SpaceManiac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can tell, there was no BYOND change and this code was wrong all along.

@SpaceManiac SpaceManiac merged commit 8c751bd into SpaceManiac:master Mar 24, 2021
j-awn pushed a commit to j-awn/SpacemanDMM that referenced this pull request Apr 1, 2021
I noticed that this was different from BYOND's behaviour where
`new x[y]` actually compiles as `(new x)[y]`. The same behaviour
applies for `new x?[y]` so I don't anticipate the code I am removing
being needed for that.

I confirmed that BYOND has been compiling it this way since at least
513.1490, so if it changed it was long ago.

[SpaceManiac] As far as I can tell, there was no BYOND change and this 
code was wrong all along.
@SpaceManiac SpaceManiac added this to the suite v1.7 milestone May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants