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

Sugar $ produce syntax error if it contains an expression name #9086

Closed
ghost opened this issue Jun 7, 2017 · 4 comments
Closed

Sugar $ produce syntax error if it contains an expression name #9086

ghost opened this issue Jun 7, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 7, 2017

Operating system or device - Godot version:
3.0 master Linux

Steps to reproduce:

  • Create an object named: var, if, continue, onready ...
  • Use $ to select said object, example: $buttons/continue
  • In this case editor reported error: Expected end of statement (continue)
@27thLiz
Copy link
Contributor

27thLiz commented Jun 7, 2017

pinging the GDScript wizards, @bojidar-bg @karroffel

@eon-s
Copy link
Contributor

eon-s commented Jun 7, 2017

You can do $"node name", I think is good to discourage the use of keywords for node names, but give a better error description.

@bojidar-bg
Copy link
Contributor

Would be fixed by #8217. Thus, related to #8085.

@ghost
Copy link

ghost commented Aug 1, 2017

This seems to be fixed.
image

@ghost ghost closed this as completed Aug 1, 2017
@akien-mga akien-mga added this to the 3.0 milestone Aug 1, 2017
This issue was closed.
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