forked from VimPlug/jedi
Support inferring not expr to bool (#2016)
* support inferring some not expr * format --------- Co-authored-by: wutingjia <wutingjia@bytedance.com>
This commit is contained in:
@@ -431,3 +431,6 @@ some_array[some_not_defined_index].upper
|
||||
|
||||
#? bool()
|
||||
res = 'f' in 'foo'; res
|
||||
|
||||
#? bool()
|
||||
res = not {}; res
|
||||
|
||||
Reference in New Issue
Block a user