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

No way to define companions in toolbox interface #8540

Open
scabug opened this issue Apr 25, 2014 · 2 comments
Open

No way to define companions in toolbox interface #8540

scabug opened this issue Apr 25, 2014 · 2 comments

Comments

@scabug
Copy link

scabug commented Apr 25, 2014

ToolBox.scala:

  def define(tree: u.ImplDef): u.Symbol

That means if you have companions which refer to one another (that's pretty much any companions) you can't define them without introducing another layer of wrapping, as each impldef fails, unable to see the other one.

@scabug
Copy link
Author

scabug commented Apr 25, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8540?orig=1
Reporter: @paulp
Affected Versions: 2.11.0

@scabug
Copy link
Author

scabug commented Apr 26, 2014

@xeno-by said:
Good point! Somehow I was very much sure that this signature was saying u.ImplDef* :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants