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
Following code failed to compile in Dotty, but it's fine in Scala:
object Test { implicit class Foo(sc: StringContext) { object q { def unapply(args: Any*): Option[(Any, Any)] = Some((sc.parts(0), sc.parts(1))) } } def f(defn: Any): Any = { val q"class $name extends $parent" = defn println(name) println(parent) } }
It turns out in Desugaring, a case for Thicket is missing.
Thicket
The text was updated successfully, but these errors were encountered:
fix scala#1748: desugaring with StringContext in PatDef
74cee6a
Merge pull request #1749 from dotty-staging/fix-i1748
c8bf8c4
fix #1748: desugaring with StringContext in PatDef
liufengyun
No branches or pull requests
Following code failed to compile in Dotty, but it's fine in Scala:
It turns out in Desugaring, a case for
Thicket
is missing.The text was updated successfully, but these errors were encountered: