Language Server - parseFunction vararg (#28)

Github Bot

Poster of Commits
Language Server - parseFunction vararg (#28)

( from https://kolmafia.us/threads/ash-language-server-features.26098/post-163765 )
This modifies the logic of parseFunction a bit so that the vararg error checks happen after the variable name was read.
This will allow us to have the full variable + type's location, rather than only the type, once those are implemented.

Additionally, this allows the "Only one vararg parameter is allowed" error message to be reached.

View the full commit on Github
 
Top