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

Construct/pattern-match operators with different precedence #193

Closed
Dveim opened this issue Jul 11, 2015 · 3 comments
Closed

Construct/pattern-match operators with different precedence #193

Dveim opened this issue Jul 11, 2015 · 3 comments

Comments

@Dveim
Copy link
Contributor

Dveim commented Jul 11, 2015

At the moment following fails:

scala> val q"$a $b $c $d $e" = q"x + y * z"
scala.MatchError: x + y * z (of class scala.meta.internal.ast.Term$ApplyInfix$Impl)
  ... 43 elided
@xeno-by
Copy link
Member

xeno-by commented Jul 11, 2017

@olafurpg I don't see how we can reasonably support this. What do you think?

@olafurpg
Copy link
Member

I'd say this case is better suited with vanilla apply/unapply.

@xeno-by
Copy link
Member

xeno-by commented Jul 11, 2017

Allright, I'm closing as wontfix. I don't see a way to support this scenario without significantly complicating the code generated by quasiquotes.

@xeno-by xeno-by closed this as completed Jul 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants