Originally at 2013-12-26T13:11:37Z by Herbert Vojčík
foo ifTrue: [ ... ] ifFalse: aBlock is not inlined but instead compiled as call to _ifTrue_ifFalse_ and the [ ... ] is IIFE'd and contextified; though we know aBlock would be sent value in false case and [ ... ] be run in true case.
Originally at 2013-12-26T13:11:37Z by Herbert Vojčík
`foo ifTrue: [ ... ] ifFalse: aBlock` is not inlined but instead compiled as call to `_ifTrue_ifFalse_` and the `[ ... ]` is IIFE'd and contextified; though we know `aBlock` would be sent `value` in false case and `[ ... ]` be run in true case.
SImilarly for similar type inlines.
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7400882-in-inlining-known-to-take-value-ables-inline-the-call-to-_value-if-non-block-expression-passed?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2013-12-26T13:11:37Z by Herbert Vojčík
foo ifTrue: [ ... ] ifFalse: aBlock
is not inlined but instead compiled as call to_ifTrue_ifFalse_
and the[ ... ]
is IIFE'd and contextified; though we knowaBlock
would be sentvalue
in false case and[ ... ]
be run in true case.SImilarly for similar type inlines.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.