blob: 29d8501b7894694ddc45cebeb0683ef3276cd32f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class Player:
var x = 3
func test():
# These should not emit a warning.
var _player = Player.new()
print(String.num_uint64(8589934592)) # 2 ^ 33
# This should emit a warning.
var some_string = String()
print(some_string.num_uint64(8589934592)) # 2 ^ 33
|