The problem was that the method was added to the @last_added variable, which was occupied by the internal class. I added the method pop_last_added in the class Xumlidot::Parsers::Stack::Constant to pop the @last_added variable and to set it as the parent constants.
The problem was that the method was added to the
@last_added
variable, which was occupied by the internal class. I added the methodpop_last_added
in the classXumlidot::Parsers::Stack::Constant
to pop the@last_added
variable and to set it as the parent constants.