You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BadTypeAlias1 = eval("".join(map(chr, [105, 110, 116])))
BadTypeAlias6 = (lambda: int)()
BadTypeAlias7 = [int][0]
BadTypeAlias8 = int if 1 < 3 else str
BadTypeAlias12 = list or set
def bad_type_aliases(
p1: BadTypeAlias1, # should error: eval result is not a valid type
p6: BadTypeAlias6, # should error: lambda call is not a valid type
p7: BadTypeAlias7, # should error: list subscript is not a valid type
p8: BadTypeAlias8, # should error: conditional expr is not a valid type
p12: BadTypeAlias12, # should error: 'or' expr is not a valid type
):
pass
Activity
asukaminato0721 commentedon Apr 18, 2026
claim
rchen152 commentedon May 19, 2026
This seems to be fixed; all of the
should errorlines in the sandbox link now error.