Skip to content

Commit f4a47b9

Browse files
committed
move recurse_normalizeCalls after arg ordering and extracting compile-time args
1 parent 42f026e commit f4a47b9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

nCompiler/R/compile_normalizeCalls.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ compile_normalizeCalls <- function(code,
6969
}
7070
}
7171

72-
normalizeCallsEnv$recurse_normalizeCalls(code, symTab, auxEnv, handlingInfo)
73-
7472
opDef <- cachedOpInfo$opDef
7573
matchDef <- opDef[["matchDef"]]
7674
if(is.null(matchDef))
@@ -79,6 +77,7 @@ compile_normalizeCalls <- function(code,
7977
exprClass_put_args_in_order(matchDef, code, opDef$compileArgs)
8078
# code <- replaceArgInCaller(code, matched_code)
8179
}
80+
normalizeCallsEnv$recurse_normalizeCalls(code, symTab, auxEnv, handlingInfo)
8281
}
8382
nErrorEnv$stateInfo <- character()
8483
invisible(NULL)

0 commit comments

Comments
 (0)