95.214 [flex] - inline method - Can not inline nonlocal control transfer

I was trying to inline a method showIcon() that has only one usage and I got the error message "Can not inline nonlocal control transfer".
Can anyone explain what that means? Looking at the code, I dont' see why the function can't be inlined.
IU-95-214 EAP Flex SDK 3.4.0

Thanks,
-Alex

iu-95-214-flex-inline-method-cannot-inline-nonlocal-control.png

3 comments
Comment actions Permalink

This means that IDEA currently does not check that intermediate return in inlined function will preserve behaviour in original place.

0
Comment actions Permalink

But IDEA can be tought to support the inlining, please file ticket :)

0
Comment actions Permalink

IDEA-55865 [flex] [as3] [refactoring] Inline Method: Can not inline  nonlocal control transfer

Thanks,
-Alex

0

Please sign in to leave a comment.