GDScript: Change parser representation of class extends

This commit is contained in:
Dmitrii Maganov
2023-03-08 22:06:29 +02:00
parent 550a779851
commit 4e34cf238a
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".