You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix ability to overload "script" variable
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
extends Node
|
||||
|
||||
var script: int
|
||||
|
||||
func test():
|
||||
pass
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_ANALYZER_ERROR
|
||||
Member "script" redefined (original in native class 'Node')
|
||||
@@ -0,0 +1,9 @@
|
||||
func test():
|
||||
pass
|
||||
|
||||
class A:
|
||||
func overload_me():
|
||||
pass
|
||||
|
||||
class B extends A:
|
||||
var overload_me
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_ANALYZER_ERROR
|
||||
The member "overload_me" already exists in parent class A.
|
||||
Reference in New Issue
Block a user