Skip to content
New issue

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

quasiquotes: deconstruction of type quasiqoutes doesn't work #6877

Closed
scabug opened this issue Dec 25, 2012 · 2 comments
Closed

quasiquotes: deconstruction of type quasiqoutes doesn't work #6877

scabug opened this issue Dec 25, 2012 · 2 comments
Assignees

Comments

@scabug
Copy link

scabug commented Dec 25, 2012

scala> import reflect.runtime.universe._
import reflect.runtime.universe._

scala> val tq"$tpe[..$args]" = tq"Function1[Int, String]"
<console>:10: error: object tq is not a case class constructor, nor does it have an unapply/unapplySeq method
       val tq"$tpe[..$args]" = tq"Function1[Int, String]"
           ^
<console>:10: error: recursive value x$1 needs type
       val tq"$tpe[..$args]" = tq"Function1[Int, String]"
@scabug
Copy link
Author

scabug commented Dec 25, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6877?orig=1
Reporter: @densh
Affected Versions: macro-paradise

@scabug
Copy link
Author

scabug commented Jan 6, 2013

@densh said:
Fixed in scalamacros/kepler@6688cda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants