mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.