Constructed types should be printed in the vocabulary

Issue #471 new
Bart Bogaerts created an issue

(and also should not be printed in the structure, but this is probably already fixed)

Comments (4)

  1. JoD

    I don't see the issue? Output seems reasonable:

    structure S : V {
      T = { f }
    }
    
    vocabulary V {
      type T
      overloaded predicate </2
      overloaded predicate =/2
      overloaded predicate >/2
      T(T)
    }
    

    from input:

    vocabulary V{
        type T constructed from {f}
    }
    
    structure S:V{}
    
    procedure main(){
        print(S)
        print(V)
    }
    
  2. Bart Bogaerts reporter

    Parsing that output would result in a completely different vocabulary, we don't want that. I a vocabulary should print all info it contains

  3. Log in to comment