☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
runtime
/
features
/
conversions_from_native_members.gd
☽
☼
modules/gdscript/tests/scripts/runtime/features/conversions_from_native_members.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
class Foo extends Node:
2
func _init():
3
name = 'f'
4
var string: String = name
5
Utils.check(typeof(string) == TYPE_STRING)
6
Utils.check(string == 'f')
7
print('ok')
8
9
func test():
10
var foo := Foo.new()
11
foo.free()