mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Existence of semantic expr (`getSemanticExpr()`) prevents ASTWalker walking into the *original* sub expressions which may cause re-typechecking failure. For example, `ConstraintGenerator::visitArrayExpr()` assumes we already visited its elements, but that's not the case if the semantic expr exists. rdar://problem/42639255
5.9 KiB
5.9 KiB