dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
6 stars 1 forks source link

Add "void" as a keyword #265

Closed dplassgit closed 9 months ago

dplassgit commented 10 months ago

This will let us specify that a proc has no return type, for when we try to infer the return type of procs.

dplassgit commented 10 months ago

Note: this issue only means to add it as a keyword to the TokenType enum, not anywhere else yet