Skip to content

Commit 6b5623a

Browse files
authored
Hide @trace_compile workload behind eval (#57)
1 parent 1c9a571 commit 6b5623a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/without_coverage.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ using InteractiveUtils
1414
oldstderr = stderr
1515
redirect_stderr(pipe)
1616
@trace_compile begin
17-
MSort.quicksort(x)
18-
at = AliasTable([1.0, 2.0])
19-
rand(at)
17+
@eval begin
18+
MSort.quicksort($x)
19+
at = AliasTable([1.0, 2.0])
20+
rand(at)
21+
end
2022
end
2123
close(pipe.in)
2224
redirect_stderr(oldstderr)

0 commit comments

Comments
 (0)