eclipse-jdt / eclipse-jdt/eclipse.jdt.core
The operator += is undefined for the argument type(s) CharSequence, String
Open
bug
compiler
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 49
Description
The following code compiles with `javac`, but produces an error with jdt:
```java
public class JdtBug {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
private static String convert(char[] seq) {
CharSequence res = "";
res += "";
return res.toString();
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.