rune icon indicating copy to clipboard operation
rune copied to clipboard

Feature request: type annotations

Open mscofield0 opened this issue 1 year ago • 3 comments

Type annotations would be ideal, but I don't see it implemented yet in Rune. If there are comments, I could always do /*: Type*/, but uh, yuck.

mscofield0 avatar Mar 05 '24 08:03 mscofield0

Related: #23, #633

udoprog avatar Mar 05 '24 08:03 udoprog

The intent is to move towards a gradual typing system, where types can be required at compile time if needed. If type annotations are present and enforced, that could also lead to new forms of optimization.

udoprog avatar Mar 05 '24 08:03 udoprog

Are there updates on this? I would like to have a type system in Rune with type checking at compile time and would be happy to contribute

dsenyushkindev avatar Jan 26 '25 15:01 dsenyushkindev