vkostyukov / kotlin-sublime-package

Sublime Text 2 Package for Kotlin Programming Language
Apache License 2.0
137 stars 41 forks source link

Keywords in function call identifiers #4

Closed TimePath closed 6 years ago

TimePath commented 9 years ago

Keywords in function call identifiers result in mis-parsing.

Example: eval("answer=42") which contains val

This also happens with other words such as classify, objection and traitor

vkostyukov commented 9 years ago

Thanks for the bug report @TimePath! Do you mind to make a PR with a fix? I'm not sure I will have a time to look into this.

TimePath commented 9 years ago

I'm not familiar with the way tmLanguage files work, coming up with a patch may take quite a while. This bug isn't too critical for me, just something I noticed when viewing kotlin code on github instead of IntelliJ (github uses this repository for syntax highlighting)

vkostyukov commented 6 years ago

This should be fixed in #20.