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
Error:2|importlanguage.experimental.erasedDefinitionsError:|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Error:|Experimental features may only be used with a nightly or snapshot version of the compiler
Expectation
Should compile.
Otherwise, we cannot use experimental language features in @experimental code.
I think what happens is that we check the compiler version when we analyze the import statement. We should wait with it until we need to check whether the language import is enabled. If all these tests are from experimental scopes, this should be permitted.