mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-29 22:42:52 -06:00
the variable labeling should start with 0.
This commit is contained in:
@@ -165,7 +165,7 @@ param2int (VMeta tnk _ _) = do
|
||||
Evaluated v -> param2int v
|
||||
Narrowing j ty -> do let QC q = valTypeCnc ty
|
||||
(_,ResParam _ (Just (_,cnt))) <- getInfo q
|
||||
return (0,[(1,j)],cnt)
|
||||
return (0,[(1,j-1)],cnt)
|
||||
param2int v = do t <- value2term 0 v
|
||||
evalError ("the parameter:" <+> ppTerm Unqualified 0 t $$
|
||||
"cannot be evaluated at compile time.")
|
||||
|
||||
Reference in New Issue
Block a user