Skip to content

Commit

Permalink
fix #33841, regression in let-bound function with kwargs (#33848)
Browse files Browse the repository at this point in the history
(cherry picked from commit ecb1bff)
  • Loading branch information
JeffBezanson authored and KristofferC committed Dec 3, 2019
1 parent ee7098c commit 78c3633
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/syntax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1944,6 +1944,7 @@ let a(; b) = b
@test a(b=3) == 3
end

# issue #33987
f33987(args::(Vararg{Any, N} where N); kwargs...) = args
@test f33987(1,2,3) === (1,2,3)
# issue #33841
let a(; b) = b
@test a(b=3) == 3
end

0 comments on commit 78c3633

Please sign in to comment.