mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #72677 from dalexeev/gds-await-infer-type
GDScript: Fix `await` type inference
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user