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

Remove self types for objects in Dotty dialect #497

Open
jvican opened this issue Sep 30, 2016 · 2 comments
Open

Remove self types for objects in Dotty dialect #497

jvican opened this issue Sep 30, 2016 · 2 comments
Labels

Comments

@jvican
Copy link
Contributor

@jvican jvican commented Sep 30, 2016

Self types on objects look like:

object A { self: A =>
}

They are removed in Dotty, although the Dotty dialect still parses it successfully. This syntax should not be supported anymore.

Current implementation:

. A good way to do this would be to pass in an extra boolean parameter to constBlock and fail when a selfInvocation is correctly parsed.

@xeno-by xeno-by added the Trees label Jan 30, 2017
@gosubpl
Copy link

@gosubpl gosubpl commented May 30, 2017

I have started working on this. Will ask for assistance at tomorrow's Spree meetup in Copenhagen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

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