Files
godot/modules/gdscript/tests/scripts/parser/features/unicode_identifiers.gd
T
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

37 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:
ㄥ += Δ * π