mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rather than performing typo correction at the very end of finalize(), do it as part of delayed requirement handling when we cannot otherwise make progress. This is a cleaner way to cope with typo correction that gives us a better chance of getting to a sane result. Fixes rdar://problem/31048352 by eliminating the need for tracking the number of unresolved potential archetypes altogether. Fixes rdar://problem/32077627.
4 lines
150 B
Swift
4 lines
150 B
Swift
// RUN: not %target-swift-frontend -typecheck -primary-file %s
|
|
|
|
func hexEncodeBytes<T: Collection>(_ bytes: T) where T.Generator.Element == UInt8 { }
|