Catch parser errors instead of error recovery when splitting param comments
This commit is contained in:
1 parent
afda309cb9
commit
13ba74515d
2 files changed
+10
-1
No files matched your search
@@ -157,6 +157,11 @@ x = UNKNOWN_NAME2 # type: str
|
||||
#? str()
|
||||
x
|
||||
|
||||
def x(a, b):
|
||||
# type: ([) -> a
|
||||
#?
|
||||
a
|
||||
|
||||
class Cat(object):
|
||||
def __init__(self, age, friends, name):
|
||||
# type: (int, List[Dog], str) -> None
|
||||
|
||||
Reference in new issue
Block a user