mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 10:12:51 -06:00
Add test case for selection using records (fails)
This commit is contained in:
@@ -103,7 +103,7 @@ mkCanon2lpgf opts gr am = do
|
||||
return $ L.LFTuple ts
|
||||
|
||||
C.VariantValue [] -> return L.LFEmpty
|
||||
C.VariantValue (vr:_) -> val2lin vr -- TODO variants not supported, just pick first
|
||||
C.VariantValue (vr:_) -> val2lin vr -- NOTE variants not supported, just pick first
|
||||
|
||||
C.VarValue (C.VarValueId (C.Unqual v)) -> do
|
||||
ix <- eitherElemIndex (C.VarId v) varIds
|
||||
|
||||
Reference in New Issue
Block a user