fix Unresolved reference inspection in Evaluate expression (PY-14309)
authorElizaveta Shashkova <Elizaveta.Shashkova@jetbrains.com>
Wed, 18 Feb 2015 17:32:32 +0000 (20:32 +0300)
committerElizaveta Shashkova <Elizaveta.Shashkova@jetbrains.com>
Wed, 18 Feb 2015 17:32:32 +0000 (20:32 +0300)
commitcdbf2521b6592c367400eb5f92d2faee5e6023ce
tree84ae532abebd2678213177f147b553317a000691
parent0ed3a9ef82f91996e7443c997eddcbad514d424c
fix Unresolved reference inspection in Evaluate expression (PY-14309)

We should pass fake context for element in code fragment in order to resolve it.
python/src/com/jetbrains/python/debugger/PyDebuggerEditorsProvider.java
python/src/com/jetbrains/python/psi/impl/references/PyReferenceImpl.java