Created
February 3, 2026 11:28
-
-
Save zainab-ali/4a266814dcb02fb99b67d8210a913d0b to your computer and use it in GitHub Desktop.
Scalameta 4.14.6 `q` macro miscalculates positions on substituting with `..$`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //> using scala 2.13.18 | |
| //> using dep "org.scalameta::scalameta::4.14.6" | |
| import scala.meta._ | |
| val terms = List(q"Foo") | |
| val code = q""" | |
| ..${terms}; "any message" | |
| """ | |
| println(code.syntax) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment