Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 405133 - [1.8][code assist + compiler] compiler error and throughout wrong suggestions in multi-level lambda expression
Summary: [1.8][code assist + compiler] compiler error and throughout wrong suggestions...
Status: RESOLVED DUPLICATE of bug 407106
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: BETA J8   Edit
Assignee: Srikanth Sankaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 402079
  Show dependency tree
 
Reported: 2013-04-08 05:10 EDT by ANIRBAN CHAKRABORTY CLA
Modified: 2013-11-30 19:57 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 ANIRBAN CHAKRABORTY CLA 2013-04-08 05:10:26 EDT
public interface Foo { 
	int run1(int s1, int s2);
	static int x2 = 0;
}

interface Foo1 {
	Foo run2(int argFoo1);
}

interface X extends Foo{
	
    static int x1 = 2;
    static Foo f = (x5, x6) -> x5;
    static Foo1 f1 = af1 -> (a1,b1) -> a1+b1+af1 == 0 ? a1+b1 : a1+af1;
    		
}

eclipse compiler error, commandline compiler crash and throughout wrong suggestion  at the conditional statement (last significant line of the code snippet).
Comment 1 ANIRBAN CHAKRABORTY CLA 2013-10-21 04:56:58 EDT
Hello,
I see code assist issues still existing in the area pointed out below:

public interface Foo { 
	int run1(int s1, int s2);
	static int x2 = 0;
}

interface Foo1 {
	Foo run2(int argFoo1);
}

interface X extends Foo{
	
    static int x1 = 2;
    static Foo f = (x5, x6) -> x5;
    static Foo1 f1 = af1 -> (a1,b1) -> a1+b1+af1 == 0 ? a<ctrl-space>+b1 : a1+af1;
    		
}
Comment 2 Srikanth Sankaran CLA 2013-11-29 15:29:58 EST
Got subsumed by the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=407106

*** This bug has been marked as a duplicate of bug 407106 ***