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:----------------------------------------------------------------------1|foo("bar")(None)
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^|While expanding a macro, a reference to lazy value forward was used outside the scope where it was defined
|This location contains code that was inlined from rs$line$1:11 error found
Expectation
top=Nonevalres0:String= bar
Details
In case there is no need to nest ValDef, the scope issue is not raised:
My bad, that's an issue in the tree definitions. It's quite easy to get lost with the current API when it's required to define separately Symbol & Term (there due to ValDef.let not allowing to give Flags).
Uh oh!
There was an error while loading. Please reload this page.
See #13922
Compiler version
3.1.2-RC1-bin-20211022-f7abd32-NIGHTLY-git-f7abd32
Minimized code
Output
Expectation
Details
In case there is no need to nest
ValDef
, the scope issue is not raised:The text was updated successfully, but these errors were encountered: