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

help debugging the "dref problem" #87

Open
mantkiew opened this issue Jun 13, 2016 · 0 comments
Open

help debugging the "dref problem" #87

mantkiew opened this issue Jun 13, 2016 · 0 comments
Assignees
Milestone

Comments

@mantkiew
Copy link
Member

The "dref problem" is a situation whereby the compiler cannot figure out whether a reference clafer should be automatically dereferenced or not. In such situations, the model is usually inconsistent and hard to debug.

A compiler could issue a warning that a reference clafer was not dereferenced. In some cases, it is intentional but in most cases it leads to an inconsistent model.

warning: a reference clafer `a` in expression `this.a = parent.b.a` not dereferenced automatically which may cause the model to be inconsistent. Add the ".dref" if needed.

Also, another way of dealing with that problem is to look at the desugared clafer output.

@mantkiew mantkiew added this to the 0.4.4 milestone Jun 13, 2016
@mantkiew mantkiew self-assigned this Jun 13, 2016
@mantkiew mantkiew modified the milestones: 0.4.5, 0.4.4 Jun 24, 2016
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

1 participant