New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot inherit from a nested abstract clafer which itself has a superclafer #78

mantkiew opened this Issue Oct 21, 2015 · 0 comments


None yet
1 participant
Copy link

mantkiew commented Oct 21, 2015

This is a bug in implementation of issue #67.

For the following correct model:

abstract Object

abstract Person : Object
    abstract Hand : Object
    abstract Hook : Hand

CptHookHand : Person
    left : Hook
    right : Hand

CptHandHook : Person
    left : Hand
    right : Hook

the compiler incorrectly reports:

Refinement errors in the following places:
Improperly nested clafer 'Hook' on line 7 column 5

However, changing the model as follows:

abstract Person
    abstract Hand : Object
    abstract Hook : Hand

compiles without any errors.

@mantkiew mantkiew self-assigned this Oct 21, 2015

@mantkiew mantkiew added this to the 0.4.3 milestone Oct 21, 2015

mantkiew added a commit that referenced this issue Dec 2, 2015

@mantkiew mantkiew closed this Dec 2, 2015

@mantkiew mantkiew referenced this issue Dec 11, 2015


Release 0.4.3 #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment