Treat if 0:
and if False:
as type-checking blocks
#2485
Merged
if 0:
and if False:
as type-checking blocks
#2485