jonnyboyC / kos-language-server

A language server for the Kerboscript (kOS) a language for Kerbal Space Program
MIT License
27 stars 6 forks source link

[Feature] Union type #60

Closed jonnyboyC closed 5 years ago

jonnyboyC commented 5 years ago

Is your feature request related to a problem? Please describe. As of now many functions, and the new choose expression can return different types. Currently the type system has no way of expressing union types. This could greatly help in the type checking as it leads to possible type narrowing features similar to typescript.

jonnyboyC commented 5 years ago

100 Added by