Intellisense for a module fails in the conditional block when same module used in the if-statement (works for if-not) #142
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
From @bgse on July 17, 2017 12:6
Environment data
VS Code version: 1.14.1 (issue also present in 1.13.x)
Python Extension version: 0.6.7
Python Version: 2.7.12
OS and version: Ubuntu 16.04
Actual behavior
Intellisense for a specific module (and only this module) fails in the conditional block after the module is used in if-statement, does work for example after module is used in if-not-statement.
Expected behavior
The intellisense for the specific module should not break down depending on how it is used in a conditional statement.
Steps to reproduce:
Try the following example code, see intellisense is broken for the 'fails' cases, and is working for the 'works' cases.
Copied from original issue: DonJayamanne/pythonVSCode#1090
The text was updated successfully, but these errors were encountered: