-
-
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
Function argument's default value not display in tooltips/documents when it's Array/Dictionary #63018
Labels
Milestone
Comments
Still reproducible in 4.0 RC 2. |
Post-poned to 4.2, see my comment for details. |
This is mostly fixed by the following PRs:
For complex expressions, an ellipsis is displayed, but we can increase the maximum recursion level if necessary:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version
4.0.alpha12
System information
Windows11, Nvidia RTX 2060, Vulkan
Issue description
In the current version, if the default value of a GDScript function arguments is set to an array or dictionary, it will be null in tooltips and documentation.
Steps to reproduce
Just look at the script document and the tooltip when calling the fn function, the default value won't show/is null:
Minimal reproduction project
The text was updated successfully, but these errors were encountered: