... | @@ -45,4 +45,10 @@ The second "not allowed" comment is wrong. Abstract classes can declare non-abst |
... | @@ -45,4 +45,10 @@ The second "not allowed" comment is wrong. Abstract classes can declare non-abst |
|
|
|
|
|
Parent constructor call with the ': ParentClass()' syntax is only valid in the class type definition, not for the constructor call.
|
|
Parent constructor call with the ': ParentClass()' syntax is only valid in the class type definition, not for the constructor call.
|
|
|
|
|
|
![image](uploads/edcc83880d76e41a035bd2f15104b4da/image.png) |
|
![image](uploads/edcc83880d76e41a035bd2f15104b4da/image.png)
|
|
\ No newline at end of file |
|
|
|
|
|
## NegSem_5010107_Methods_004
|
|
|
|
|
|
|
|
According to the standard, 'runs on', 'mtc' and 'system' clauses precedce the 'returns' clause, so in this test the order is wrong.
|
|
|
|
|
|
|
|
![image](uploads/c6c772a3bb456da3af959042b3024341/image.png) |
|
|
|
\ No newline at end of file |