mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
7971056e21
Doing it in the post-walk meant we ended up walking the children twice, which lead to duplicate diagnostics and incorrect inference of the level of application for function references. Move it to the pre-walk, ensuring that we resolve any operator references before folding.