From 4714579627c0abe09926dba8ee52fa13a6bf13dc Mon Sep 17 00:00:00 2001 From: Rick Winfrey Date: Fri, 15 Mar 2019 12:06:19 -0700 Subject: [PATCH] Move for readability --- src/Control/Abstract/Primitive.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Control/Abstract/Primitive.hs b/src/Control/Abstract/Primitive.hs index 0c4f1fc0a..cbfc49e67 100644 --- a/src/Control/Abstract/Primitive.hs +++ b/src/Control/Abstract/Primitive.hs @@ -45,8 +45,8 @@ defineBuiltIn declaration rel accessControl value = withCurrentCallStack callSta -- TODO: This span is still wrong. declare declaration rel accessControl emptySpan ScopeGraph.Unknown (Just associatedScope) - param <- gensym withScope associatedScope $ do + param <- gensym declare (Declaration param) ScopeGraph.Gensym accessControl emptySpan ScopeGraph.Unknown Nothing slot <- lookupSlot declaration