We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d7c8ad commit d54fab0Copy full SHA for d54fab0
src/compiler/api/GF/Compile/Compute/Concrete2.hs
@@ -938,10 +938,10 @@ value2termM flat xs (VReset ctl mb_cv v qid) = do
938
where
939
reduce ctl mb_cv ts
940
| ctl == cConcat = do
941
- ts' <- case mb_cv of
942
- Just (VInt n) -> return (genericTake n ts)
943
- Nothing -> return ts
944
- _ -> evalError (pp "[concat: .. | ..] requires an integer constant")
+ ts <- case mb_cv of
+ Just (VInt n) -> return (genericTake n ts)
+ Nothing -> return ts
+ _ -> evalError (pp "[concat: .. | ..] requires an integer constant")
945
case ts of
946
[t] -> return t
947
ts -> return (Markup identW [] ts)
0 commit comments