abeln / dotty

Scala with explicit nulls
https://github.com/abeln/dotty/wiki/scala-with-explicit-nulls
Other
23 stars 2 forks source link

Throw null is not allowed; Small changes to the code style #30

Closed noti0na1 closed 5 years ago

noti0na1 commented 5 years ago
noti0na1 commented 5 years ago

val AfterLoadFlags: FlagSet = commonFlags(..., JavaEnumValue) doesn't work because JavaEnumValue is defined after AfterLoadFlags, hence it has not been initialized. :( It would be great if the compiler can give a warning about the forward reference in fields.