-
Notifications
You must be signed in to change notification settings - Fork 45
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
Limit core type usage on registered properties #668
Limit core type usage on registered properties #668
Conversation
I said it was okay for them to be nullable. In such case, Godot Variant is going to interpret the null as the "zero value" of the corresponding core type. Unlike lateinit, nullables are not the cause of any known bug right now. |
Yeah it was just easy going to directly limit them. |
This limits the usage of core types on exported properties to actually allowed cases.
That means that registered core type properties can no longer be lateinit!
Edit: This now also fixes some type checks which failed because callables did not implement the core type interface