modules/gdscript/tests/scripts/analyzer/features/external_parser.gd
raw| 1 | extends "external_parser_base1.notest.gd" |
| 2 | |
| 3 | const External1 = preload("external_parser_script1.notest.gd") |
| 4 | |
| 5 | func baz(e1: External1) -> void: |
| 6 | print(e1.e1c.bar) |
| 7 | print(e1.baz) |
| 8 | |
| 9 | func test_external_base_parser_type_resolve(_v: TypeFromBase): |
| 10 | pass |
| 11 | |
| 12 | func test(): |
| 13 | var ext := External1.new() |
| 14 | print(ext.array[0].test2) |
| 15 | print(ext.get_external2().get_external3().test3) |
| 16 | # TODO: This actually produces a runtime error, but we're testing the analyzer here |
| 17 | #baz(ext) |