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

Generated documentation show all arrays as untyped #79247

Closed
lilizoey opened this issue Jul 9, 2023 · 0 comments · Fixed by #80745
Closed

Generated documentation show all arrays as untyped #79247

lilizoey opened this issue Jul 9, 2023 · 0 comments · Fixed by #80745

Comments

@lilizoey
Copy link

lilizoey commented Jul 9, 2023

Godot version

4.1.stable

System information

Linux 5.10.181-2-MANJARO

Issue description

A class with a function defined like this:

class_name Foo extends Node

func my_func(arr: Array[int]) -> Array[int]:
	return arr

Will show up in the docs as:

image

Whereas i'd expect it to show up as

Array[int] my_func(arr: Array[int])

The same seems to be true for properties.

Steps to reproduce

  1. Add script
class_name Foo extends Node

func my_func(arr: Array[int]) -> Array[int]:
	return arr
  1. open class Foo in help

Minimal reproduction project

N/A

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

Successfully merging a pull request may close this issue.

2 participants