<reponame>Leo-Enrique-Wu/chocopy_compiler_semantic_analysis
a:int = 1
b:str = ""
c:object = None
def list(x:int) -> [int]:
    y:[int] = None
    y = [x,x,x]
    return y
def foo():
    return
class A(object):
    x:int = 1
len(a)
len(b)
len(c)
len(list(2))
len(foo) #error
len(A) #error
a:int = 1
b:str = ""
c:object = None
def list(x:int) -> [int]:
    y:[int] = None
    y = [x,x,x]
    return y
def foo():
    return
class A(object):
    x:int = 1
len(a)
len(b)
len(c)
len(list(2))
len(foo) #error
len(A) #error
#error #error