diff options
Diffstat (limited to 'src/GF/Conversion')
| -rw-r--r-- | src/GF/Conversion/RemoveSingletons.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GF/Conversion/RemoveSingletons.hs b/src/GF/Conversion/RemoveSingletons.hs index 6c3a6e7c7..4b9992a4d 100644 --- a/src/GF/Conversion/RemoveSingletons.hs +++ b/src/GF/Conversion/RemoveSingletons.hs @@ -4,9 +4,9 @@ -- Stability : (stable) -- Portability : (portable) -- --- > CVS $Date: 2005/05/09 09:28:44 $ +-- > CVS $Date: 2005/05/11 10:28:16 $ -- > CVS $Author: peb $ --- > CVS $Revision: 1.4 $ +-- > CVS $Revision: 1.5 $ -- -- Instantiating all types which only have one single element. -- @@ -57,7 +57,7 @@ instantiateLin newArgs = inst = case newArgs !! nr of Unify [nr'] -> Arg nr' cat path Constant (Just term) -> termFollowPath path term - Constant Nothing -> error "instantiateLin: argument has no linearization" + Constant Nothing -> error "RemoveSingletons.instantiateLin: This should not happen (argument has no linearization)" inst (cn :^ terms) = cn :^ map inst terms inst (Rec rec) = Rec [ (lbl, inst term) | (lbl, term) <- rec ] inst (term :. lbl) = inst term +. lbl |
