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
I would expect the variant with @main @experimental to work as well unless for some reason we decide it would be better not to have experimental main methods at all, in which case we should disallow marking main methods in objects as @experimental.
Compiler version
3.1.1-RC1
Minimized code
Output
Expectation
As the code below compiles successfully
I would expect the variant with
@main @experimental
to work as well unless for some reason we decide it would be better not to have experimental main methods at all, in which case we should disallow marking main methods in objects as@experimental
.@odersky @smarter what do you think?
The text was updated successfully, but these errors were encountered: