We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5277bce commit b51dc4fCopy full SHA for b51dc4f
UDAnnotations.hs
@@ -293,7 +293,7 @@ expandMacro env tr@(RTree f ts) = case M.lookup f (macroFunctions (cncLabels env
293
subst xts t@(RTree h us) = case us of
294
[] -> maybe t id (lookup h xts)
295
-- Expand head: #auxfun Ex a b : A -> B -> C = a b ; cn head
296
- _ | Just (RTree h' hus) <- lookup h xts -> RTree h' (hus ++ map (subst xts) us)
+ _ | Just (RTree h' hus) <- lookup h xts -> expandMacro env $ RTree h' (hus ++ map (subst xts) us)
297
_ -> RTree h (map (subst xts) us)
298
299
----------------------------------------------------------------------------
0 commit comments