Use TypeEvalContext.userInitiated() for replace tuple with list quickfix (PY-15558)
authorAndrey Vlasovskikh <andrey.vlasovskikh@jetbrains.com>
Mon, 16 Nov 2015 16:25:58 +0000 (19:25 +0300)
committerAndrey Vlasovskikh <andrey.vlasovskikh@jetbrains.com>
Mon, 16 Nov 2015 16:25:58 +0000 (19:25 +0300)
commitb9f205b61f99228cd7da282ef41fd7f1ca62c4e0
tree436ccc3c460e0453bb530d6d2bbb999dac10939d
parent971a9ee872dffa7d2e8544aedebd4cd50c03d198
Use TypeEvalContext.userInitiated() for replace tuple with list quickfix (PY-15558)

The default type evaluation context doesn't allow to perform proper
follow assignments chain even for AST-based trees now (which is
consistent with stub-based trees). We have to specify the appropriate
context manually.
python/src/com/jetbrains/python/inspections/quickfix/PyReplaceTupleWithListQuickFix.java