Commit 10cd5305 authored by Steffen Michels's avatar Steffen Michels

Merge branch '230-layout-extractdownstreamchange-runtime-error' into 'master'

Resolve "Layout extractDownstreamChange runtime error"

Closes #230

See merge request !164
parents 8763c55c 339be3d2
Pipeline #12385 passed with stage
in 3 minutes and 10 seconds
......@@ -937,6 +937,7 @@ extractDownstreamChange (lui,moves)
(Just (InsertChild ui), Just lui) = (ReplaceUI ui,(lui,moves))
(Just RemoveChild, Just lui) = (ReplaceUI (UI UIEmpty 'DM'.newMap []),(lui,moves))
(Just (ChangeChild change), Just lui) = (change,(lui,moves))
(Nothing, Just lui) = (NoChange,(lui,moves))
_ = abort "extractDownstreamChange: at the top-level, an lui should always be returned"
//For each node we need to extract one of the following changes:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment