test: cover compatibility method return types
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CLASS Player
|
||||
TEACH score TAKES amount RETURNS NUMBER
|
||||
CHECK TYPE amount IS NUMBER
|
||||
RETURN "oops"
|
||||
LEARNED
|
||||
ENDCLASS
|
||||
|
||||
NEW Player player
|
||||
CALL player.score WITH 4
|
||||
Reference in New Issue
Block a user