Actions
Bug #20217
closedvoid value not checked for begin/ensure/rescue
Description
foo = begin
return
ensure
end
I would expect this to raise a syntax error for a void value expression being assigned, but the ensure
makes it so that this isn't checked.
Actions
Like0
Like0