Skip to content
Snippets Groups Projects
Commit 17768571 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Fix loop

parent d71e9d72
Branches master
No related tags found
No related merge requests found
......@@ -65,8 +65,8 @@ collectArgsTicks_OnStack = go mempty
go :: [Expr] -> Expr -> (Expr, [Expr], [Tickish])
go as (App f a) = go (a:as) f
go as (Tick t a) =
let !(e', as, ts) = go as a
in (e', as, t:ts)
let !(e', as', ts) = go as a
in (e', as', t:ts)
go as a = (a, as, [])
collectArgsTicksBenchmarks :: Expr -> [Benchmark]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment