mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #74844 from vonagam/change-class-extends-parsing
GDScript: Change parser representation of class extends
This commit is contained in:
@@ -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".
|
||||
Reference in New Issue
Block a user