We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be really nice if quasiquotes let you customize positions of trees like:
val pos: Position = ... q"@$pos def bar" q"(1 + 2): @$pos"
Similar syntax can be used for extraction too:
scala> val q"..$_; $last: @${pos: Position}" = parse("a; b; c") last: reflect.runtime.universe.Tree = c pos: reflect.runtime.universe.Position = source-<toolbox>,line-1,offset=6
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8250?orig=1 Reporter: @densh Affected Versions: 2.11.0
Sorry, something went wrong.
closing all quasiquotes tickets; see #10755
densh
No branches or pull requests
It would be really nice if quasiquotes let you customize positions of trees like:
Similar syntax can be used for extraction too:
The text was updated successfully, but these errors were encountered: