Skip to content

Commit 82af61a

Browse files
author
Frankie Robertson
committed
Remove leftover example code from precompiles
1 parent 0c953ca commit 82af61a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/precompiles.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,5 @@
1616
bare_responses = BareResponses(response_type, [1], [zero(concrete_type)])
1717
end
1818
Response{ResponseTypeT <: ResponseType, ConcreteResponseTypeT}
19-
# all calls in this block will be precompiled, regardless of whether
20-
# they belong to your package or not (on Julia 1.8 and higher)
21-
d = Dict(MyType(1) => list)
22-
x = get(d, MyType(2), nothing)
23-
last(d[MyType(1)])
2419
end
2520
end

0 commit comments

Comments
 (0)