You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Implement RETURN_VALUE_DISCARDED warning in GDscript
This commit is contained in:
@@ -21,5 +21,5 @@ func test():
|
||||
assert(test_sub.number == 25) # From Test.
|
||||
assert(test_sub.other_string == "bye") # From TestSub.
|
||||
|
||||
TestConstructor.new()
|
||||
TestConstructor.new(500)
|
||||
var _test_constructor = TestConstructor.new()
|
||||
_test_constructor = TestConstructor.new(500)
|
||||
|
||||
Reference in New Issue
Block a user