fuzion
fuzion copied to clipboard
We should eventually have separate constants for the various `-1` to improve readability.
Looks good in general. We should eventually have separate constants for the various -1 to improve readability.
Originally posted by @maxteufel in https://github.com/tokiwa-software/fuzion/pull/6096#pullrequestreview-3359939001
I guess you mean distinct values instead of -1 for NO_SITE, NO_CLAZZ, etc. Took me some time to figure this out.
@fridis that too but also e.g. INVALID_LINE = some_random_neg_number instead of -1
I did not intend this to mean distinct values instead of -1, but just to define various constants pointing to -1 to mean various things with a descriptive name.