| 1 |
# https://github.com/godotengine/godot/issues/71172 |
| 2 |
|
| 3 |
func test(): |
| 4 |
@warning_ignore("narrowing_conversion") |
| 5 |
var foo: int = 0.0 |
| 6 |
print(typeof(foo) == TYPE_INT) |
| 7 |
var dict: Dictionary = {"a": 0.0} |
| 8 |
foo = dict.get("a") |
| 9 |
print(typeof(foo) == TYPE_INT) |