[SR-10022] Dictionary ambiguous reference to member 'count' #52425
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Xcode 10.2 beta 3
SwiftPM: swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-26-a
Additional Detail from JIRA
md5: 4fbbaaf3801035c97c3a75a631bbd0c3
Issue Description:
https://travis-ci.org/SusanDoggie/Doggie/jobs/499742696
https://travis-ci.org/SusanDoggie/Doggie/jobs/499757307
xcodebuild is successful. Only found the error with SwiftPM.
/Users/travis/build/SusanDoggie/Doggie/Sources/Doggie/Foundation/WeakDictionary.swift:94:21: error: ambiguous reference to member 'count'
return base.values.count { $0.key !== nil }
@inlinable public var count: Int { get }
^
@inlinable public var count: Int { get }
The text was updated successfully, but these errors were encountered: