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
commit 5461b9976c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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".