mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-404126 Add diagnostic
GitOrigin-RevId: 55e7c7e236287200b4d1f493be2bb8db5b764067
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6a2a667f6b
commit
a5d9ceb883
+1
-1
@@ -132,7 +132,7 @@ public class ImportToImportFromIntention extends PyBaseIntentionAction {
|
||||
if (!FileModificationService.getInstance().preparePsiElementForWrite(elt)) {
|
||||
return;
|
||||
}
|
||||
assert parentElt instanceof PyReferenceExpression;
|
||||
assert parentElt instanceof PyReferenceExpression: parentElt.getClass();
|
||||
final PyElement newReference = generator.createExpressionFromText(languageLevel, nameUsed);
|
||||
parentElt.replace(newReference);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user