Skip to content

Commit 02c63d9

Browse files
authored
Update trace.jl
1 parent ba1922d commit 02c63d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ end
287287
Get a typed trace for `f`, analagous to `@code_typed`. Note that unlike
288288
`@code_typed`, you probably want to pass types rather than values, e.g.
289289
290-
julia> @trace Int+Int
290+
julia> @trace ::Int + ::Int
291291
1: (%1 :: const(+), %2 :: Int64, %3 :: Int64)
292292
%4 = (+)(%2, %3) :: Int64
293293
return %4

0 commit comments

Comments
 (0)