initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
16
modules/gdscript/tests/scripts/analyzer/features/as.gd
Normal file
16
modules/gdscript/tests/scripts/analyzer/features/as.gd
Normal file
@@ -0,0 +1,16 @@
|
||||
func test():
|
||||
var some_bool = 5 as bool
|
||||
var some_int = 5 as int
|
||||
var some_float = 5 as float
|
||||
print(typeof(some_bool))
|
||||
print(typeof(some_int))
|
||||
print(typeof(some_float))
|
||||
|
||||
print()
|
||||
|
||||
var some_bool_typed := 5 as bool
|
||||
var some_int_typed := 5 as int
|
||||
var some_float_typed := 5 as float
|
||||
print(typeof(some_bool_typed))
|
||||
print(typeof(some_int_typed))
|
||||
print(typeof(some_float_typed))
|
Reference in New Issue
Block a user