Bug in setting maketrue / setting interpretation

Issue #584 duplicate
Broes De Cat created an issue

currentIndex does not get the assigned value.

vocabulary V { type Index isa nat currentIndex : Index }

structure S:V{ }

include <mx> procedure main(){ S[V::Index.type] = range(1,1) maketrue(S[V::currentIndex].graph,{1}) // S[V::currentIndex].graph.pt=S[V::currentIndex].graph.ct clean(S) print(S) }

Comments (2)

  1. Broes De Cat reporter

    This seems related to an existing bug: the problem is that the table used to set it is not the correct table, as the table changes when the interpretation is changed (by the range assignment).

  2. Log in to comment