Github Bot
Poster of Commits
Language Server - parseType records (#29)
( from https://kolmafia.us/threads/ash-language-server-features.26098/post-163762 )
This changes the logic of parseType to attempt to parse records even when not allowed (again, with the continuous parsing, we need to try anyway).
This is possible because the method parseRecord starts by looking for the token "record", immediately returning null if it doesn't find it.
"record" is a reserved word exclusively used to declare new records, so nothing is hindered by checking for them right away.
View the full commit on Github
( from https://kolmafia.us/threads/ash-language-server-features.26098/post-163762 )
This changes the logic of parseType to attempt to parse records even when not allowed (again, with the continuous parsing, we need to try anyway).
This is possible because the method parseRecord starts by looking for the token "record", immediately returning null if it doesn't find it.
"record" is a reserved word exclusively used to declare new records, so nothing is hindered by checking for them right away.
View the full commit on Github