View in Telegram
iQLBF (国外)
https://github.com/openjdk/jdk/pull/21495/files
草,感觉 javac 代码好屎啊
GitHub
8341901: Using 'var' keyword switch pattern matching causes compiler error by lahodaj · Pull Request #21495 · openjdk/jdk
Consider code like:
public class T {
record R(N.I i) {}
int test(Object o) {
return switch (o) {
case R(var nested) -> 0;
default -> 0;
};
...
Share
Love Center - Dating, Friends & Matches, NY, LA, Dubai, Global
Find friends or serious relationships easily
Start