Skip to content

Commit a322c74

Browse files
authored
Merge branch 'master' into swissdict
2 parents 1f5801a + 21bc723 commit a322c74

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/delegate.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function unquote(e::QuoteNode)
99
return e.value
1010
end
1111

12-
macro delegate(source, targets)
12+
macro delegate(source::Expr, targets::Expr)
1313
typename = esc(source.args[1])
1414
fieldname = unquote(source.args[2])
1515
funcnames = targets.args
@@ -25,7 +25,7 @@ macro delegate(source, targets)
2525
return Expr(:block, fdefs...)
2626
end
2727

28-
macro delegate_return_parent(source, targets)
28+
macro delegate_return_parent(source::Expr, targets::Expr)
2929
typename = esc(source.args[1])
3030
fieldname = unquote(source.args[2])
3131
funcnames = targets.args

src/ordered_robin_dict.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ end
230230
function get!(default::Base.Callable, h::OrderedRobinDict{K,V}, key0) where {K,V}
231231
index = get(h.dict, key0, -2)
232232
index > 0 && return @inbounds h.vals[index]
233-
233+
234234
v = convert(V, default())
235235
setindex!(h, v, key0)
236236
return v

test/bench_robin_dict.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,3 @@ function filter_result(results, op, dt, apow=4)
4545
println(tr, " minimum time ", minimum(results[tr]))
4646
end
4747
end
48-

0 commit comments

Comments
 (0)