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

divergent implicit machinery prevents implicit macros from recursing #7167

Closed
scabug opened this issue Feb 22, 2013 · 3 comments
Closed

divergent implicit machinery prevents implicit macros from recursing #7167

scabug opened this issue Feb 22, 2013 · 3 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Feb 22, 2013

If Foo[T] is synthesized implicit macro, then sometimes recursive calls from Foo[X] to Foo[Y] might lead to divergent implicit errors.

The build-in divergent expansion protection is nice, sure thing, but for macros it just gets in the way, because it's the macro programmer who should be in control.

@scabug
Copy link
Author

scabug commented Feb 22, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7167?orig=1
Reporter: @xeno-by
Affected Versions: 2.10.0

@scabug
Copy link
Author

scabug commented May 5, 2013

@xeno-by said:
scala/scala#2494

@scabug
Copy link
Author

scabug commented May 11, 2013

@xeno-by said:
Fixed in scala/scala@8168f11

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

2 participants