mirror of
https://github.com/apple/swift.git
synced 2026-03-04 18:24:35 +01:00
* [Diagnostic] Fix diagnostic when checking conformance for IUO of generic parameter Prints TypeRepr in diagnostic if possible to throw accurate diagnostic for IUO conformance checking Fixes [rdar://problem/64953106]. Fixes SR-13119 * Nested name lookup tests update Name lookup will see the innermost name anyway and preferred over fully qualified name. Hence the test cases are also updated. * Replaced a letter in test case that inadvertently got added * Code format, corrections and better comments This commit includes better comments for easy understanding, formatted the bug fix code with clang-format and fixes wrong variables inadvertently introduced. * [Test] Update type in struct codable test This commit changes diagnostic type from error type to Int. Although this diagnostic updated is incorrect, this will be resolved when 32371 gets pulled.
51 KiB
51 KiB