Open sternk opened 10 years ago
Comment by maeder Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/664#comment:1
spechub/Hets@1ae7298170b7a26dce9acc6d2c864fb01f0cb347 now produces
types
Index[n] < Int;
Index[n] < Pos;
Nat < Int;
Pos < Nat
which avoids the final failure, but the subtype relation should be stored uniquely and type inference should find a common supertype.
Reported by maeder and assigned to maeder Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/664
creates a file with (only one) subtyping of
instead of
as happens for CASL Subsequent
fails with
The file goes through if the formula is changed to
but this intermediate type
Int
should be inferred, too. (CASL does this)