-
Notifications
You must be signed in to change notification settings - Fork 1.1k
stack overflow compiling single-arg implicit constructor with empty auxiliary ctor #1639
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
Labels
Comments
Thanks a lot @ljdelight , report confirmed! |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 5, 2016
This can lead to stackoverflow, as i1639.scala shows. Fixes scala#1639.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 24, 2016
This can lead to stackoverflow, as i1639.scala shows. Fixes scala#1639.
odersky
added a commit
that referenced
this issue
Dec 3, 2016
Fix #1639: Changes around implicits and apply methods
I was on the wrong branch when testing. The issue is indeed fixed by #1658. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Dotty encounters a stack overflow when compiling this invalid code:
class Foo(implicit val bar: String) { def this() = this("baz") }
Here's the full trace, and a snippet below from using
dotc
.And compiling with scalac:
The text was updated successfully, but these errors were encountered: