You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ChocoPy/pa2-tests/core/bad_shadow_local.py

15 lines
275 B

class A(object):
x:int = 1
def foo(x:int, bool:str) -> object: # Second param uses an invalid name
y:int = 4 # OK
A:int = 5 # Invalid name
object:str = "" # Invalid name
def str() -> bool: # Invalid name
return False
pass
pass