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
[E] [E3] Foo.scala:15:3
[E] method foo is marked @experimental and therefore may only be used in an experimental scope.
[E] L15: foo
[E] ^^^
[E] [E2] Foo.scala:12:5
[E] method foo is marked @experimental and therefore may only be used in an experimental scope.
[E] L12: foo
[E] ^^^
[E] [E1] Foo.scala:8:25
[E] method foo is marked @experimental and therefore may only be used in an experimental scope.
[E] L8:@experimental valx= foo
[E] ^^^
Expectation
I expect all foo calls to be recognized as in the experimental scope.
The text was updated successfully, but these errors were encountered:
gregghz
changed the title
@experimental annotation doesn't work for inline macros
@experimental annotation doesn't work for inline functions
May 6, 2022
I did just stumble across this test case which I think implies that this isn't a bug? If it's true that it's not a bug, I'm not sure these new experimental methods in Quotes.scala can really be used, right?
Compiler version
3.1.3-RC2
Minimized code
https://scastie.scala-lang.org/CCUeignRSJOnYEBa8aJTWg
Output
Expectation
I expect all
foo
calls to be recognized as in the experimental scope.The text was updated successfully, but these errors were encountered: