Skip to content

Commit bf6d1c6

Browse files
committed
Fix kwargs typeasserts.
1 parent ede3413 commit bf6d1c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/inference.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ immutable InferenceParams
2222
# without specifying, or allowing to override, the inference parameters
2323
InferenceParams(;optimize::Bool=true, inlining::Bool=inlining_enabled(),
2424
needtree::Bool=true, cached::Bool=true,
25-
typeunion_len=3::Int, type_depth=7::Int, tupletype_len=15::Int,
26-
tuple_depth=16::Int, tuple_splat=4::Int, union_splitting=4::Int) =
25+
typeunion_len::Int=3, type_depth::Int=7, tupletype_len::Int=15,
26+
tuple_depth::Int=16, tuple_splat::Int=4, union_splitting::Int=4) =
2727
new(optimize, inlining, needtree, cached, typeunion_len, type_depth, tupletype_len,
2828
tuple_depth, tuple_splat, union_splitting)
2929

0 commit comments

Comments
 (0)