Skip to content

Comments

ST6RI-893 KerML grammar does not allow constant end features#716

Merged
seidewitz merged 2 commits intomasterfrom
S
Nov 26, 2025
Merged

ST6RI-893 KerML grammar does not allow constant end features#716
seidewitz merged 2 commits intomasterfrom
S

Conversation

@seidewitz
Copy link
Member

This PR corrects the KerML grammar as implemented, to allow association structures to have ends marked with const as constant variable features (per the KerML Specification, 8.2.4.3.1). For example, the following model previously did not parse, but, with this correction, it does:

assoc struct Test {
    const end feature a;
    const end feature b;
}

@seidewitz seidewitz added the bug Something isn't working label Nov 16, 2025
@seidewitz seidewitz added this to the 2025-11 milestone Nov 16, 2025
@seidewitz seidewitz self-assigned this Nov 16, 2025
Copy link
Contributor

@vincemolnar vincemolnar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, but I had some questions - see comments.

@seidewitz seidewitz merged commit f4aeb6f into master Nov 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants