virtualx-engine/modules/gdscript/tests/scripts/parser/features/unicode_identifiers.gd
Danil Alexeev e8696f9961
GDScript: Improve call analysis
* Add missing `UNSAFE_CALL_ARGUMENT` warning.
* Fix `Object` constructor.
* Display an error for non-existent static methods.
2023-09-21 13:36:39 +03:00

36 lines
989 B
GDScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const π = PI
var = π
func test():
var փորձարկում = "test"
prints("փորձարկում", փորձարկում)
var امتحان = "test"
prints("امتحان", امتحان)
var = "test"
prints("পরীক্ষা", )
var тест = "test"
prints("тест", тест)
var = "test"
prints("जाँच", )
var = "test"
prints("기준", )
var = "test"
prints("测试", )
var = "test"
prints("テスト", )
var = "test"
prints("試験", )
var = "test"
prints("പരീക്ഷ", )
var = "test"
prints("ทดสอบ", )
var δοκιμή = "test"
prints("δοκιμή", δοκιμή)
const d = 1.1
_process(d)
@warning_ignore("unsafe_call_argument")
print(is_equal_approx(, PI + (d * PI)))
func _process(Δ: float) -> void:
+= Δ * π