diff options
Diffstat (limited to 'modules/gdscript/tests/scripts/analyzer/features/weak_initializer.gd')
-rw-r--r-- | modules/gdscript/tests/scripts/analyzer/features/weak_initializer.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/analyzer/features/weak_initializer.gd b/modules/gdscript/tests/scripts/analyzer/features/weak_initializer.gd new file mode 100644 index 0000000000..c5f3ccc59e --- /dev/null +++ b/modules/gdscript/tests/scripts/analyzer/features/weak_initializer.gd @@ -0,0 +1,5 @@ +func test(): + var bar = 1 + var foo: float = bar + print(typeof(foo)) + print(foo is float) |