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
For some reason, the logic implemented in #15215 failed to suppress this (playground):
importtyping@typing.no_type_checkdeff(arg: "'A' or ''") ->None: ...
# ^ F821
According to println!(), when checking the nested expression, the semantic model is in neither NO_TYPE_CHECK nor STRING_TYPE_DEFINITION context.
The text was updated successfully, but these errors were encountered:
InSyncWithFoo
changed the title
@no_type_check is not respected when the stringified type expression is complex@no_type_check is not respected
Jan 6, 2025
For some reason, the logic implemented in #15215 failed to suppress this (playground):
According to
println!()
, when checking the nested expression, the semantic model is in neitherNO_TYPE_CHECK
norSTRING_TYPE_DEFINITION
context.The text was updated successfully, but these errors were encountered: