GDScript: Fix await type inference
This commit is contained in:
parent
de4369ca4b
commit
685db28e29
5 changed files with 33 additions and 13 deletions
|
|
@ -0,0 +1,4 @@
|
|||
signal my_signal()
|
||||
|
||||
func test():
|
||||
var _a := await my_signal
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
Cannot infer the type of "_a" variable because the value doesn't have a set type.
|
||||
Loading…
Add table
Add a link
Reference in a new issue