blob: abc17391ec4fff555c02b671044cf6cca5fe2aee [file] [log] [blame]
def test():
def g(x):
"""
:type x: int
"""
return x
g(<warning descr="Expected type 'int', got 'str' instead">"str"</warning>) #fail
h = g
h(<warning descr="Expected type 'int', got 'str' instead">"str"</warning>) #fail