Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
inspections
/
PyTypeCheckerInspection
/
FunctionAssignments.py
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