diff --git a/legend-pure-core/legend-pure-m3-core/src/main/resources/platform/pure/grammar/milestoning.pure b/legend-pure-core/legend-pure-m3-core/src/main/resources/platform/pure/grammar/milestoning.pure index 6bd5a4c009..0fe8b2fbf0 100644 --- a/legend-pure-core/legend-pure-m3-core/src/main/resources/platform/pure/grammar/milestoning.pure +++ b/legend-pure-core/legend-pure-m3-core/src/main/resources/platform/pure/grammar/milestoning.pure @@ -270,6 +270,13 @@ function <> meta::pure::test::model::TestBiTemporalClass():Any[*] assertEquals(3, $qpFromAssociations->at(5)->genericType().typeArguments->at(0).rawType->toOne()->cast(@FunctionType).parameters->size()); } +function <> meta::pure::test::model::TestMilestoning():Boolean[1] +{ + let instances = ^meta::pure::test::model::ClassWithMilestoning1(businessDate = %2020-01-01); + let result1 = meta::pure::test::model::ClassWithMilestoning1.all(%2020-01-01); + assertEquals(1, $result1->size()); +} +