Skip to content

Fixing prefix of implicit members #121

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

Closed
wants to merge 1 commit into from

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 13, 2014

Implicit members are TermRefs that should have a prefix corresponding to the object of which they are a member. They used to have the ThisType of their owner before.

implicits2 provides a way to verify that the change works. It would be good to turn this
into a more robust test at some point. But it's not high preiority, so I prefer no test to a fragile test.

Implicit members are TermRefs that should have a prefix corresponding to the object of which they are a member. They used to have the ThisType of their owner before.

`implicits2` provides a way to verify that the change works. It would be good to turn this
into a more robust test at some point.  But it's not high preiority, so I prefer no test to a fragile test.
@odersky
Copy link
Contributor Author

odersky commented Apr 13, 2014

Review by @DarkDimius @gzm0

@gzm0
Copy link
Contributor

gzm0 commented Apr 14, 2014

Could you add a real test please? I don't agree at all on "rather no test than a fragile test".

@odersky
Copy link
Contributor Author

odersky commented Apr 14, 2014

The patch fixes a basic condition for the rest of the compiler to work. If the thing fails, transformations will fail. Right now I do not think we should prioritize writing a test for this condition. In particular not if that test would turn out to be fragile. That would be busywork for no gain.

@DarkDimius
Copy link
Contributor

LGTM

@DarkDimius
Copy link
Contributor

merged as part of #122

@DarkDimius DarkDimius closed this Apr 15, 2014
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

Successfully merging this pull request may close these issues.

3 participants