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
The compiler offers to way to discover what are the valid options for the -language parameter, nor does any kind of validation on what is passed to it. That makes it very difficult to check for things like -language:experimental.macros vs -language:experimental.macro.
The text was updated successfully, but these errors were encountered:
@adriaanm said:
the help message should be generated by looking at the language object's members
most of the code needed for this is there, so this would make for a great community contribution!
@som-snytt said:
Also learned you can say scalac -language postfixOps -- file.scala, which is why scalac -language file.scala doesn't yield a meaningful message.
The compiler offers to way to discover what are the valid options for the
-language
parameter, nor does any kind of validation on what is passed to it. That makes it very difficult to check for things like-language:experimental.macros
vs-language:experimental.macro
.The text was updated successfully, but these errors were encountered: