From 2198515559d8e546e10c5f7adbb3a44202aaf065 Mon Sep 17 00:00:00 2001 From: RayPals Date: Mon, 1 Jun 2026 00:51:36 +0200 Subject: [PATCH] Add tests/37_object_field_types.claro from Claro v1.17.26 zip --- tests/37_object_field_types.claro | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/37_object_field_types.claro 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