dplassgit / d2lang

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

Generalize/unify all the integral types #316

Closed dplassgit closed 9 months ago

dplassgit commented 9 months ago

From Issue #235:

Note, there are a LOT of places that would have to be updated (see https://github.com/search?q=repo%3Adplassgit%2Fd2lang+VarType.BYTE&type=code for all the places BYTE is used):

This might be a good opportunity to generalize the 4 integral types (BYTE, SHORT, INT, LONG) instead of having so many if/else.