dplassgit / d2lang

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

Unify array and string error messages #324

Closed dplassgit closed 1 month ago

dplassgit commented 1 month ago
  1. There are string and array index-out-of-bound error messages. Unify them.
  2. I think there are two sets of index-out-of-bound error messages: with and without the actual length. Unify them.
dplassgit commented 1 month ago
  1. The only difference is the word STRING or ARRAY.
  2. These are obsolete now that we have IL-generated index checking.