Corrected the bug involving replicated SEQs that are empty
This commit is contained in:
parent
d3ad2e7af6
commit
30e890ef02
|
@ -356,7 +356,8 @@ buildFlowGraph funcs s
|
||||||
Right (s,e) ->
|
Right (s,e) ->
|
||||||
do addEdge ESeq n s
|
do addEdge ESeq n s
|
||||||
addEdge ESeq e n
|
addEdge ESeq e n
|
||||||
Left _ -> return ()
|
Left False -> addEdge ESeq n n
|
||||||
|
Left True -> throwError $ show m ++ " SEQ replicator had non-joined up body when building flow-graph"
|
||||||
return $ Right (n,n)
|
return $ Right (n,n)
|
||||||
_ -> throwError $ "Cannot have replicators inside context: " ++ show outer
|
_ -> throwError $ "Cannot have replicators inside context: " ++ show outer
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user