Bug 393991 - Set values expressions are not handled correctly in all places
Summary: Set values expressions are not handled correctly in all places
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 11:43 EST by Paul Harmon CLA
Modified: 2017-02-23 14:07 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Harmon CLA 2012-11-09 11:43:58 EST
For the following testcase:

Library lib1
   d dictionary;
   a any = d;

   function f1()
      if (d{key = "aaa"} == a)
         syslib.writeStdOut("passed");
      else
         syslib.writeStdOut("failed");
      end
   end
end

Bad java and javascript is generated, due to the setValues expression. This problem probably exists in a few places (while statement condition, case statement condition).

When this is fixed in Java, please route the bug to JS Gen