1
0
forked from VimPlug/jedi

simple generator static analysis subscript check

This commit is contained in:
Dave Halter
2014-05-12 16:03:41 +02:00
parent b6ec589997
commit 64af9524b7
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
def generator():
yield 1
#! type-error-generator
generator()[0]
list(generator())[0]