mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
246 B
Swift
11 lines
246 B
Swift
// RUN: not %target-typecheck-verify-swift
|
|
|
|
// https://github.com/apple/swift/issues/48406
|
|
|
|
extension Dictionary {
|
|
func doSomething<T>() -> [T : Value] {
|
|
let pairs: [(T, Value)] = []
|
|
return Dictionary(uniqueKeysWithValues: pairs)
|
|
}
|
|
}
|