Add 'engine/' from commit 'a8e37fc010'
git-subtree-dir: engine git-subtree-mainline:b74841629egit-subtree-split:a8e37fc010
This commit is contained in:
commit
c3f9669b10
14113 changed files with 7458101 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
func test():
|
||||
var gdscr: = GDScript.new()
|
||||
gdscr.source_code = '''
|
||||
extends Resource
|
||||
|
||||
func test() -> void:
|
||||
prints("Outer")
|
||||
var inner = InnerClass.new()
|
||||
|
||||
class InnerClass:
|
||||
func _init() -> void:
|
||||
prints("Inner")
|
||||
'''
|
||||
@warning_ignore("return_value_discarded")
|
||||
gdscr.reload()
|
||||
|
||||
var inst = gdscr.new()
|
||||
|
||||
@warning_ignore("unsafe_method_access")
|
||||
inst.test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue