Bug 110987 - [compiler] the operator is not used to InstanceOfExpression
Summary: [compiler] the operator is not used to InstanceOfExpression
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-28 15:34 EDT by Olivier Thomann CLA
Modified: 2005-10-30 07:27 EST (History)
0 users

See Also:


Attachments
Proposed fix (6.68 KB, patch)
2005-09-28 15:35 EDT, Olivier Thomann CLA
no flags Details | Diff
New patch (6.72 KB, patch)
2005-09-29 12:28 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2005-09-28 15:34:43 EDT
In the parser, when an instanceof expression is created we don't need to pass in
the operator.
The operator is useful onlu for the completion parser.
Comment 1 Olivier Thomann CLA 2005-09-28 15:35:49 EDT
Created attachment 27644 [details]
Proposed fix
Comment 2 Philipe Mulet CLA 2005-09-29 04:54:18 EDT
I would still init the operator slot in InstanceOfExpression constructor, just
in case...
Comment 3 Olivier Thomann CLA 2005-09-29 11:19:39 EDT
ok, I will preserve the initialization of the bits with the operator inside the
constructor.
I am running the tests.
Comment 4 Olivier Thomann CLA 2005-09-29 12:28:54 EDT
Created attachment 27687 [details]
New patch

new patch with modification in the InstanceOfExpression constructor.
Comment 5 Olivier Thomann CLA 2005-09-29 12:29:13 EDT
Fixed and released in HEAD.
No regression test.
Comment 6 Frederic Fusier CLA 2005-10-30 07:27:12 EST
Verified for 3.2 M3 using build I20051025-0800+v_619