fix type errors detected by the new type checker

This commit is contained in:
Krasimir Angelov committed 2025-08-07 13:35:36 +02:00
1 parent 42d06dfafd
commit 1308eb85d9
21 files changed
+47 -76

No files matched your search

+2 -2
View File
@@ -512,8 +512,8 @@ param
-- IL2018-02: a whole lot of times we only need number and person, not gender
-- maybe switch to PersAgr at some point and halve the number of fields
oper PersAgr : Type = {n : Number ; p : Person} ;
oper Agr : Type = PersAgr ** {g : Gender} ;
oper PersAgr : PType = {n : Number ; p : Person} ;
oper Agr : PType = PersAgr ** {g : Gender} ;
oper
pagr : Agr -> PersAgr = \agr -> { p = agr.p ; n = agr.n } ;