GDScript: Change parser representation of class extends
This commit is contained in:
parent
550a779851
commit
4e34cf238a
10 changed files with 43 additions and 26 deletions
|
|
@ -0,0 +1,5 @@
|
|||
class Foo extends RefCounted.Bar:
|
||||
pass
|
||||
|
||||
func test():
|
||||
print('not ok')
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
Cannot get nested types for extension from non-GDScript type "RefCounted".
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
class Foo:
|
||||
pass
|
||||
|
||||
class Bar extends Foo.Baz:
|
||||
pass
|
||||
|
||||
func test():
|
||||
print('not ok')
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
GDTEST_ANALYZER_ERROR
|
||||
Could not find nested type "Baz".
|
||||
Loading…
Add table
Add a link
Reference in a new issue