fixed some Codex-generated (according to logs) code to work with the current GF 3.12 type checker

This commit is contained in:
aarneranta committed 2026-10-22 16:13:10 +02:00
1 parent 933045a138
commit 760bdbb4d6
8 files changed
+16 -14

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ lin
n_units_AP card cn a = mkAP (lin AdA (mkUtt (mkNP <lin Card card : Card> (lin CN cn)))) (lin A a) ;
n_units_of_NP card cn np =
mkNP card (lin CN (cn ** {
s = \\n => cn.s ! n ++ (np.s ! R.genitive).ton
s = table Number {n => cn.s ! n ++ (np.s ! R.genitive).ton}
})) ;
bottle_of_CN np = mkCN (lin N2 (mkN2 (mkN "botella" feminine) part_Prep)) np ;