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

Comments

4 participants
@jvican
Contributor

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.

@jvican

This comment has been minimized.

Show comment
Hide comment
Contributor

jvican commented Sep 30, 2016

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

@gosubpl

This comment has been minimized.

Show comment
Hide comment
@gosubpl

gosubpl May 30, 2017

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

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