Project

General

Profile

Bug #18673 ยป anon_repro.rb

brasic (Carl Brasic), 03/31/2022 10:14 PM

 
def inner
"yielded #{yield}"
end

def block_only(&)
inner(&)
end

def pos_arg(arg1, &)
inner(&)
end

def kwarg(arg1, kwarg1:, &)
inner(&)
end

def kwarg_with_default(arg1, kwarg1: "kwarg_default", &)
inner(&)
end
    (1-1/1)