You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@odersky It seems @som-snytt found a way to derive them automatically from available language imports, so that there will be no problem keeping them in sync.
It's pretty messy. There is a similar TODO in Scala 2. For the chicken/egg issue, an alternative would be to verify settings after the compiler is constructed. As a random example, verifying a phase option names a phase from a plugin is possible only later.
Minimized code
Output
Compile successfuly
Expectation
Under the same circumstances,
scalac
fails with the following error:dotc
should have the same behavior or it should at least report a warning.The text was updated successfully, but these errors were encountered: