pharo-vm icon indicating copy to clipboard operation
pharo-vm copied to clipboard

Return block value with arguments gets arguments discarded

Open guillep opened this issue 3 years ago • 0 comments

Code like this

^ [ :a :b :c | a + b ] value: d value: e value: f 

Gets the arguments removed incorrectly in C code

{
	return a + b;
}

When it should be

{
	return d + e;
}

A failing test (testReturnBlockValueValueValue) is skipped

guillep avatar Jun 13 '22 15:06 guillep