mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diamonds: should check raw types when error occurs before inference is even started (IDEA-74053)
This commit is contained in:
@@ -313,6 +313,10 @@ public class PsiDiamondType extends PsiType {
|
||||
public String getErrorMessage() {
|
||||
return myErrorMessage;
|
||||
}
|
||||
|
||||
public boolean failedToInfer() {
|
||||
return myErrorMessage != null;
|
||||
}
|
||||
|
||||
public void addInferredType(PsiType psiType) {
|
||||
if (myErrorMessage != null) return;
|
||||
|
||||
Reference in New Issue
Block a user