eclipse-jdt / eclipse-jdt/eclipse.jdt.core
[Completion][Switch] No completion inside switch inside lambda
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 49
Description
No completion proposals offered at | below:
```
import java.util.concurrent.Callable;
public class X {
static void foo(Runnable r) {
System.out.println("Runnable");
}
static void foo(Callable task) {
System.out.println("Callable");
}
public static void main(String [] args) {
foo(() -> {
switch(args.length) {
case 0 -> throw new NullPo|
}
}
);
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.