mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't bother searching for implicit resolve results if we're going to reject them anyway (PY-6559)
This commit is contained in:
@@ -51,6 +51,10 @@ public class PyResolveContext {
|
||||
return new PyResolveContext(myAllowImplicits, myAllowProperties, context);
|
||||
}
|
||||
|
||||
public PyResolveContext withoutImplicits() {
|
||||
return new PyResolveContext(false, myAllowProperties, myTypeEvalContext);
|
||||
}
|
||||
|
||||
public TypeEvalContext getTypeEvalContext() {
|
||||
return myTypeEvalContext != null ? myTypeEvalContext : TypeEvalContext.fastStubOnly(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user