diff --git a/tests/37_object_field_types.claro b/tests/37_object_field_types.claro new file mode 100644 index 0000000..4cdd7e8 --- /dev/null +++ b/tests/37_object_field_types.claro @@ -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