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:
WutingjiaXandwutingjia authored and GitHub committed 2024-07-12 12:58:39 +00:00
1 parent 8ee4c26ae4
commit 2859e4f409
2 files changed
+8 -6

No files matched your search

+3
View File
@@ -431,3 +431,6 @@ some_array[some_not_defined_index].upper
#? bool()
res = 'f' in 'foo'; res
#? bool()
res = not {}; res