Closed hungpt-a8e closed 4 days ago
If you try to call static private method of a class from inside the same class gdlint will raise an error, for example:
gdlint
class_name Foo func _foo() -> void: Foo._bar() # gdlint: Error: Private method "_bar" has been called (private-method-call) static func _bar() -> void: pass
I think private members should be allowed to be called from inside the same class and gdlint should not raise errors in this situation.
This check is now removed.
If you try to call static private method of a class from inside the same class
gdlint
will raise an error, for example:I think private members should be allowed to be called from inside the same class and
gdlint
should not raise errors in this situation.