Merge pull request #74844 from vonagam/change-class-extends-parsing

GDScript: Change parser representation of class extends
This commit is contained in:
Yuri Sizov
2023-03-20 19:13:23 +01:00
committed by GitHub
10 changed files with 43 additions and 26 deletions

View File

@@ -0,0 +1,5 @@
class Foo extends RefCounted.Bar:
pass
func test():
print('not ok')

View File

@@ -0,0 +1,2 @@
GDTEST_ANALYZER_ERROR
Cannot get nested types for extension from non-GDScript type "RefCounted".

View File

@@ -0,0 +1,8 @@
class Foo:
pass
class Bar extends Foo.Baz:
pass
func test():
print('not ok')

View File

@@ -0,0 +1,2 @@
GDTEST_ANALYZER_ERROR
Could not find nested type "Baz".