Setting function interpretation to constructed from symbol

Issue #710 resolved
fredericg created an issue

How can one refer to a constructed type when trying to interpret a function?

vocabulary voc{
    type Soort constructed from {A, B}
    ProductSoort:Soort
}

include <mx>
procedure main(){
    struc = newstructure(voc, "struc")
    maketrue(struc[voc::ProductSoort].graph, {"B"})
}

Throws:

Error: Element "B" is not part of table 28ConstructedInternalSortTable[A, B], but you are trying to assign it to such a table

Comments (2)

  1. Log in to comment