Add tests/37_object_field_types.claro from Claro v1.17.26 zip
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
CLASS ScoreBox
|
||||||
|
HAS score NUMBER
|
||||||
|
END
|
||||||
|
|
||||||
|
NEW ScoreBox box
|
||||||
|
SET box.score NUMBER 7
|
||||||
|
CHECK TYPE box.score IS NUMBER
|
||||||
|
SAY box.score
|
||||||
|
TYPE OF box.score AS kind
|
||||||
|
SAY kind
|
||||||
Reference in New Issue
Block a user