mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Move logic from `ConstraintGenerator::visitOverloadedDeclRefExpr` to pre-check to avoid including macro declarations referenced without `#`. This means that pre-checking would synthesize `TypeExpr` in situations when there is a type reference that is shadowed by a stdlib macro. Resolves: https://github.com/apple/swift/issues/67815 Resolves: rdar://114796811
190 KiB
190 KiB