Details
Description
JavaStubGenerator causes verification to occur in phase conversion instead of phase class generation. Unfortunately, verification modifies the AST and even drops some information (e.g. labels on implicit returns), leading to troubles for transforms down the line. (In order to write correct transforms, one has to have knowledge about which AST modifications have (not yet) occurred.)
labels on implicit returns? I guess you mean that returns are added. As they don't exist before, they can't have a label. Of course if the last statement is labeled, then the return needs to get that label.