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

Unhelpful syntax error when accidentally using TypeQL keywords #261

Closed
grabl opened this issue Sep 21, 2018 · 3 comments
Closed

Unhelpful syntax error when accidentally using TypeQL keywords #261

grabl opened this issue Sep 21, 2018 · 3 comments

Comments

@grabl
Copy link
Contributor

grabl commented Sep 21, 2018

This issue was originally posted by @haikalpribadi on 2016-10-13 16:22.

define 
rel sub relation, relates has;
                          ^
mismatched input 'has' expecting {'get', 'thing', 'entity', 'attribute', 'relation', 'role', 'rule', 'offset', 'limit', 'sort', 'value', 'contains', 'group', 'count', 'max', 'min', 'mean', 'median', 'std', 'sum', VAR_, LABEL_}
@grabl
Copy link
Contributor Author

grabl commented Sep 21, 2018

This comment was originally posted by @haikalpribadi on 2018-04-14 21:18:10+02:00.

Jason Liu, this is a bug from 2016 Week 41. So long ago. Is this bug still relevant?

@krishnangovindraj krishnangovindraj changed the title Unhelpful syntax error when accidentally using Graql keywords Unhelpful syntax error when accidentally using TypeQL keywords Jan 10, 2023
@krishnangovindraj
Copy link
Member

Still relevant; Transferring to TypeQL repository.

@krishnangovindraj krishnangovindraj transferred this issue from typedb/typedb Jan 10, 2023
@krishnangovindraj
Copy link
Member

Added the case to #262 . Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants