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

scabug opened this issue Feb 24, 2012 · 1 comment


Copy link

@scabug scabug 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

This comment has been minimized.

Copy link

@scabug scabug commented Feb 24, 2012

Imported From:
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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.