Add tests/typecheck_good.claro from Claro v1.17.26 zip
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
SET score NUMBER 10
|
||||||
|
SET score 20
|
||||||
|
SET name TEXT "Jon"
|
||||||
|
SET happy YESNO YES
|
||||||
|
TYPE OF score AS kind
|
||||||
|
CHECK TYPE score IS NUMBER
|
||||||
|
NEW Player player
|
||||||
|
CHECK TYPE player IS OBJECT
|
||||||
Reference in New Issue
Block a user