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

Validation in TGG Editor: Temp variables #96

Open
anthonyanjorin opened this issue May 25, 2018 · 1 comment
Open

Validation in TGG Editor: Temp variables #96

anthonyanjorin opened this issue May 25, 2018 · 1 comment

Comments

@anthonyanjorin
Copy link
Contributor

anthonyanjorin commented May 25, 2018

attribute conditions such as:

#attributeConditions {
	add(f.col, l, nf.col)
	eq_int(f.row, nf.row)
}

are not completely senseless, but the temp variable l in add is still a bit strange because it is used nowhere else in the CSP. I suggest we give a warning for temporary variables that are not used anywhere else in a CSP (they are assigned a value that apparently has no effect on anything else).

@anthonyanjorin
Copy link
Contributor Author

Any progress? Have you been able to reproduce?

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

3 participants