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

New check: Constant only ever appears in distinct statements #3

Open
AlexLandau opened this issue Dec 27, 2015 · 0 comments
Open

New check: Constant only ever appears in distinct statements #3

AlexLandau opened this issue Dec 27, 2015 · 0 comments
Assignees

Comments

@AlexLandau
Copy link
Owner

Such a distinct statement would do nothing, and this would have caught the error in point_grab: ggp-org/ggp-repository#33

This could probably be extended to constants only appearing in distinct statements and/or negated sentences. Should this be extended to any constants that don't appear in true sentences or the heads of rules? (Note that we should probably restrict this to constants in the inside of function or sentence bodies and have separate checks for sentence or function names. Though a check for function names probably also needs to be added.)

@AlexLandau AlexLandau self-assigned this Dec 27, 2015
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