You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/gdscript/tests/scripts/analyzer/errors/abstract_methods.out
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,12 @@ GDTEST_ANALYZER_ERROR
2
2
>> ERROR at line 37: "@abstract" annotation can only be used once per class.
3
3
>> ERROR at line 28: "@abstract" annotation can only be used once per function.
4
4
>> ERROR at line 35: "@abstract" annotation cannot be applied to static functions.
5
+
>> ERROR at line 40: A lambda function must have a ":" followed by a body.
6
+
>> ERROR at line 41: A lambda function must have a ":" followed by a body.
5
7
>> ERROR at line 11: Class "Test1" is not abstract but contains abstract methods. Mark the class as "@abstract" or remove "@abstract" from all methods in this class.
6
8
>> ERROR at line 14: Class "Test2" must implement "AbstractClass.some_func()" and other inherited abstract methods or be marked as "@abstract".
7
9
>> ERROR at line 17: Class "Test3" must implement "AbstractClassAgain.some_func()" and other inherited abstract methods or be marked as "@abstract".
8
10
>> ERROR at line 22: Cannot call the parent class' abstract function "some_func()" because it hasn't been defined.
9
11
>> ERROR at line 25: Cannot call the parent class' abstract function "some_func()" because it hasn't been defined.
10
-
>> ERROR at line 32: Abstract function cannot have a body.
12
+
>> ERROR at line 32: An abstract function cannot have a body.
11
13
>> ERROR at line 35: A function must either have a ":" followed by a body, or be marked as "@abstract".
0 commit comments