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
Probably related to #2117
I'd also bet it's because of the class wrapper, as suggested in the issue description (may need further investigation, though)
A new flag and using directive were added for forcing the object wrapper in scripts. You can use --object-wrapper or using objectWrapper as a workaround for the mentioned problem.
Version(s)
1.0.0-RC2
Describe the bug
After upgrading to
1.0.0-RC2
the script below fails to compile with the following error:System: Tried Ubuntu 23.04 and 22.04 so far
To Reproduce
Note that the bug only appears to occur on Scala 3 in combination with a script:
Also, if we remove the default arg in the options case class, it also works again:
I haven't been able to minimize the example further yet.
One hunch is that the new class based wrapping triggers something here as it happens only in scripts.
Expected behaviour
The script should compile like in earlier versions.
The text was updated successfully, but these errors were encountered: