mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Currently if destination is unresolved instead of trying to re-typecheck it again and diagnose structural problems which led to such outcome, it gets completely ignored in favor of trying to type-check source without contextual type. That leads to missed diagnostic opportunities, which results in problems on AST verification and SIL generation stages, and generally missleading errors e.g. `.x = 0`. Resolves: SR-3506.
1.4 KiB
1.4 KiB