Skip to content

Brings for(key, value in list) stuff to parity with byond#469

Open
LemonInTheDark wants to merge 2 commits into
SpaceManiac:masterfrom
LemonInTheDark:i-still-do-but-i-also-used-to-and-it-still-kinda-sucks
Open

Brings for(key, value in list) stuff to parity with byond#469
LemonInTheDark wants to merge 2 commits into
SpaceManiac:masterfrom
LemonInTheDark:i-still-do-but-i-also-used-to-and-it-still-kinda-sucks

Conversation

@LemonInTheDark

Copy link
Copy Markdown
Contributor

This does not actually require key to be var/ typed, it's just the var/ is applied communitively to both key and value. Unfortunately we don't really have to care about this because we don't throw for undefined var use anyway, so this is kind of redundant.

I've replaced it with an expression match, and some new warnings.

Closes #466

This does not actually require key to be var/ typed, it's just the var/
is applied communitively to both key and value. Unfortunately we don't
really have to care about this because we don't throw for undefined var
use anyway, so this is kind of redundant.

I've replaced it with an expression match, and some new warnings.
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.

for(key, value in list) is not valid to the language server

1 participant