We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import scala.quoted._ import dotty.tools.dotc.quoted.Toolbox._ object Macros { inline def foo(i: Int): Int = ~{ val y = ('(i)).run y.toExpr } }
import Macros._ object Test { def main(args: Array[String]): Unit = { println(foo(1)) println(foo(1 + 3)) // Crashes the compiler } }
The text was updated successfully, but these errors were encountered:
Fix scala#4456: Pickle quote before compiling
9550ba8
257d7b4
Merge pull request #4457 from dotty-staging/fix-#4456
7ca5a2c
Fix #4456: Pickle quote before compiling
nicolasstucki
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: