update for macrotools change

This commit is contained in:
Mike J Innes 2016-11-11 01:01:19 +00:00
parent 600b3fb54c
commit 2bfe5cce8e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export @net
function process_func(ex, params = [])
@capture(shortdef(ex), (args__,) -> body_)
body = @> body MacroTools.flatten liftloops(params) graphm DataFlow.il
body = @> body MacroTools.flatten block liftloops(params) graphm DataFlow.il
body = mapconst(x -> x in params ? :(self.$x) : x, body)
return args, body
end