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

Constructors cannot have arguments dependent on other arguments of the same constructor #5521

Closed
scabug opened this issue Feb 24, 2012 · 1 comment

Comments

@scabug
Copy link

commented Feb 24, 2012

class Foo { type Bar }

class Quux(val foo: Foo)(val bar: foo.Bar)
error: not found: object foo
class Quux(val foo: Foo)(val bar: foo.Bar)
                                  ^
one error found
@scabug

This comment has been minimized.

Copy link
Author

commented Feb 24, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.