Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: 1. Please use the source of attachment file, and run it. 2. Output will be "myTextInput1 : {mouseout : func_deemphasizemouseover : func_emphasizeclick : func_eventListener}". 3. ObjectLiteralFields have no spacing. step2's result was incorrect, and correct one should be "myTextInput1 : {mouseout : func_deemphasize, mouseover : func_emphasize, click : func_eventListener}" More information: I think the function of ASTRewriteFlattener#visit(ObjectLiteral node) should be fixed. Line 402: visitList(node, ObjectLiteral.FIELDS_PROPERTY, null); should be changed as following: visitList(node, ObjectLiteral.FIELDS_PROPERTY, String.valueOf(',')); Thanks for your patience and best regards! Wang Wei
Created attachment 108156 [details] demo java source file
Created attachment 129646 [details] Made the suggested update
Confirmed the problem that was reported and created a patch based on the suggestion from Wang Wei. Can be fixed in 3.0.5 and 3.1.
(In reply to comment #3) > Confirmed the problem that was reported and created a patch based on the > suggestion from Wang Wei. > Can be fixed in 3.0.5 and 3.1. Thank you for your confirm. and I will recheck this, after Galileo was released. Best Regards. Wang Wei
Applied to 3.1m7
Applied to 3.0.5. Thanks, Chris.
(In reply to comment #6) > Applied to 3.0.5. Thanks, Chris. > This Bug was fixed by using WTP3.0.5, Thanks a lot. Best Regards. Wang Wei