-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Onready variable doesn't correctly use provided type in autocompletion #39228
Labels
Milestone
Comments
|
KoBeWi
changed the title
Script Editor becomes unresponsive randomly
Onready variable doesn't correctly use provided type
Jun 1, 2020
KoBeWi
changed the title
Onready variable doesn't correctly use provided type
Onready variable doesn't correctly use provided type in autocompletion
Jun 1, 2020
This is basically #42005 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version:
3.2.2 beta3
Steps to reproduce:
onready
variable that holds the childThe autocompletion works only for the actual type of the node and in another scene the editor can't find it, so it uses Node (ignoring the explicitly set type). Typing the above line as
onready var text_edit = $TextEdit as TextEdit
seems to fix the issue.The text was updated successfully, but these errors were encountered: