From 78c36334bd60968c8fb3b8eb584877bee0115e48 Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Thu, 14 Nov 2019 18:41:36 -0500 Subject: [PATCH] fix #33841, regression in let-bound function with kwargs (#33848) (cherry picked from commit ecb1bff6650916aa2d16dda71664ab314fa5070f) --- test/syntax.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/syntax.jl b/test/syntax.jl index bdf5e607f46dc9..14e70f76740f31 100644 --- a/test/syntax.jl +++ b/test/syntax.jl @@ -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