Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Fwd: [webtools.jsdt.core] Fix switch statement error (#3)



-------- Original Message --------
Subject: [webtools.jsdt.core] Fix switch statement error (#3)
Date: Thu, 02 May 2013 00:07:51 -0700
From: ZuluS <notifications@xxxxxxxxxx>
Reply-To: eclipse/webtools.jsdt.core <reply+i-13879542-01c8fba6780db13f5118d24efa482bb66ab3c03b-555569@xxxxxxxxxxxxxxxx>
To: eclipse/webtools.jsdt.core <webtools.jsdt.core@xxxxxxxxxxxxxxxxxx>

Fix errors on this switch:

switch (item) {
case 1/2:
case 1/3:

Constant.computeConstantOperationDIVIDE if detect int on left and right side always return IntConstant, what is ok Java but wrong on _javascript_

You can merge this Pull Request by running

  git pull switchfix

Or view, comment on, or merge it at:

Commit Summary

  • Fix switch statement error

File Changes

Patch Links:

Wayne Beaton
Director of Open Source Projects, The Eclipse Foundation
Learn about Eclipse Projects
EclipseCon France 2013

Back to the top