mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
workaround for a compilation bug for param defs (to be fixed)
This commit is contained in:
@@ -10,7 +10,7 @@ param
|
||||
|
||||
Case = Nom | Acc | CPrep Prep ;
|
||||
|
||||
NPForm = Ton Case | Aton Case | Poss AAgr ;
|
||||
NPForm = Ton Case | Aton Case | Poss {g : Gender ; n : Number} ; --- AAgr
|
||||
|
||||
RelForm = RSimple Case | RComplex Gender Number Case ;
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ incomplete concrete NounRomance of Noun =
|
||||
n = Sg
|
||||
} ;
|
||||
DetPl quant num ord = {
|
||||
s = \\g,c => quant.s ! g ! c ++ num.s ! g ++ ord.s ! aagr g Sg ;
|
||||
s = \\g,c => quant.s ! g ! c ++ num.s ! g ++ ord.s ! aagr g Pl ;
|
||||
n = Pl
|
||||
} ;
|
||||
|
||||
@@ -64,7 +64,7 @@ incomplete concrete NounRomance of Noun =
|
||||
n = Sg
|
||||
} ;
|
||||
DefPl = {
|
||||
s = \\g,c => artDef g Sg c ;
|
||||
s = \\g,c => artDef g Pl c ;
|
||||
n = Pl
|
||||
} ;
|
||||
|
||||
|
||||
@@ -185,6 +185,7 @@ checkResInfo gr (c,info) = do
|
||||
return (c, ResOper pty' pde')
|
||||
|
||||
ResParam (Yes pcs) -> chIn "parameter type" $ do
|
||||
---- mapM ((mapM (computeLType gr . snd)) . snd) pcs
|
||||
mapM_ ((mapM_ (checkIfParType gr . snd)) . snd) pcs
|
||||
return (c,info)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user