Open dabrahams opened 7 years ago
@swift-ci create
Attempted workaround by qualifying Self.CodeUnit
where the assertion is pointing just yields
/Users/Shared/dabrahams/s/swift/stdlib/public/core/SetAlgebra.swift:59:18: warning: redeclaration of associated type 'Element' from protocol 'ExpressibleByArrayLiteral' is better expressed as a 'where' clause on the protocol
associatedtype Element
~~~~~~~~~~~~~~~^~~~~~~
/Users/Shared/dabrahams/s/swift/stdlib/public/core/CompilerProtocols.swift:583:18: note: 'Element' declared here
associatedtype Element
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:12:1: error: type '_Unicode.UTF8' (aka 'UTF8') does not conform to protocol '_UTFEncoding'
extension _Unicode.UTF8 : _UTFEncoding {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:19:24: note: candidate has non-matching type '(UTF8.CodeUnit) -> Bool' (aka '(UInt8) -> Bool')
internal static func _isScalar(_ x: CodeUnit) -> Bool {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:21:15: note: protocol requires function '_isScalar' with type '(_Unicode.UTF8.CodeUnit) -> Bool'; do you want to add a stub?
static func _isScalar(_ x: Self.CodeUnit) -> Bool
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:88:1: error: type 'UTF8.ReverseParser' does not conform to protocol '_UTFParser'
extension UTF8.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:84:16: note: candidate has non-matching type 'UTF8.ReverseParser._Buffer' (aka '_UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:153:15: note: candidate has non-matching type '(UInt8) -> UTF8.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:88:1: error: type 'UTF8.ReverseParser' does not conform to protocol 'UnicodeParser'
extension UTF8.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:89:20: note: possibly intended match 'UTF8.ReverseParser.Encoding' (aka 'UTF8') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF8
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:161:1: error: type '_Unicode.UTF8.ForwardParser' (aka 'UTF8.ForwardParser') does not conform to protocol '_UTFParser'
extension _Unicode.UTF8.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:78:16: note: candidate has non-matching type 'UTF8.ForwardParser._Buffer' (aka '_UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:220:15: note: candidate has non-matching type '(UInt8) -> UTF8.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:161:1: error: type '_Unicode.UTF8.ForwardParser' (aka 'UTF8.ForwardParser') does not conform to protocol 'UnicodeParser'
extension _Unicode.UTF8.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:162:20: note: possibly intended match 'UTF8.ForwardParser.Encoding' (aka 'UTF8') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF8
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:12:1: error: type '_Unicode.UTF16' (aka 'UTF16') does not conform to protocol '_UTFEncoding'
extension _Unicode.UTF16 : _UTFEncoding {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:19:24: note: candidate has non-matching type '(UTF16.CodeUnit) -> Bool' (aka '(UInt16) -> Bool')
internal static func _isScalar(_ x: CodeUnit) -> Bool {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:21:15: note: protocol requires function '_isScalar' with type '(_Unicode.UTF16.CodeUnit) -> Bool'; do you want to add a stub?
static func _isScalar(_ x: Self.CodeUnit) -> Bool
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:58:1: error: type 'UTF16.ReverseParser' does not conform to protocol '_UTFParser'
extension UTF16.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:54:16: note: candidate has non-matching type 'UTF16.ReverseParser._Buffer' (aka '_UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:70:15: note: candidate has non-matching type '(UInt8) -> UTF16.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:58:1: error: type 'UTF16.ReverseParser' does not conform to protocol 'UnicodeParser'
extension UTF16.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:59:20: note: possibly intended match 'UTF16.ReverseParser.Encoding' (aka 'UTF16') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF16
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:79:1: error: type '_Unicode.UTF16.ForwardParser' (aka 'UTF16.ForwardParser') does not conform to protocol '_UTFParser'
extension _Unicode.UTF16.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:48:16: note: candidate has non-matching type 'UTF16.ForwardParser._Buffer' (aka '_UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:91:15: note: candidate has non-matching type '(UInt8) -> UTF16.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:79:1: error: type '_Unicode.UTF16.ForwardParser' (aka 'UTF16.ForwardParser') does not conform to protocol 'UnicodeParser'
extension _Unicode.UTF16.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:80:20: note: possibly intended match 'UTF16.ForwardParser.Encoding' (aka 'UTF16') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF16
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
[3/153] Compiling /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/stdlib/public/core/macosx/x86_64/Swift.o
FAILED: stdlib/public/core/macosx/x86_64/Swift.o
cd /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/stdlib/public/core && /usr/bin/python /Users/Shared/dabrahams/s/swift/utils/line-directive @/Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/stdlib/public/core/yYP58.txt -- /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/./bin/swiftc -c -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -target x86_64-apple-macosx10.9 -resource-dir /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/./lib/swift -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Onone -g -D INTERNAL_CHECKS_ENABLED -I /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/./lib/swift/macosx/x86_64 -module-cache-path /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/./module-cache -no-link-objc-runtime -Xfrontend -enable-cow-existentials -nostdimport -parse-stdlib -module-name Swift -Xfrontend -group-info-path -Xfrontend /Users/Shared/dabrahams/s/swift/stdlib/public/core/GroupInfo.json -Xfrontend -sil-serialize-all -swift-version 3 -warn-swift3-objc-inference -module-link-name swiftCore -force-single-frontend-invocation -Xcc -D__SWIFT_CURRENT_DYLIB=swiftCore -parse-as-library -o /Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/stdlib/public/core/macosx/x86_64/Swift.o @/Users/Shared/dabrahams/s/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-macosx-x86_64/stdlib/public/core/yYP58.txt
/Users/Shared/dabrahams/s/swift/stdlib/public/core/SetAlgebra.swift:59:18: warning: redeclaration of associated type 'Element' from protocol 'ExpressibleByArrayLiteral' is better expressed as a 'where' clause on the protocol
associatedtype Element
~~~~~~~~~~~~~~~^~~~~~~
/Users/Shared/dabrahams/s/swift/stdlib/public/core/CompilerProtocols.swift:583:18: note: 'Element' declared here
associatedtype Element
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:12:1: error: type '_Unicode.UTF8' (aka 'UTF8') does not conform to protocol '_UTFEncoding'
extension _Unicode.UTF8 : _UTFEncoding {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:19:24: note: candidate has non-matching type '(UTF8.CodeUnit) -> Bool' (aka '(UInt8) -> Bool')
internal static func _isScalar(_ x: CodeUnit) -> Bool {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:21:15: note: protocol requires function '_isScalar' with type '(_Unicode.UTF8.CodeUnit) -> Bool'; do you want to add a stub?
static func _isScalar(_ x: Self.CodeUnit) -> Bool
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:88:1: error: type 'UTF8.ReverseParser' does not conform to protocol '_UTFParser'
extension UTF8.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:84:16: note: candidate has non-matching type 'UTF8.ReverseParser._Buffer' (aka '_UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:153:15: note: candidate has non-matching type '(UInt8) -> UTF8.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:88:1: error: type 'UTF8.ReverseParser' does not conform to protocol 'UnicodeParser'
extension UTF8.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:89:20: note: possibly intended match 'UTF8.ReverseParser.Encoding' (aka 'UTF8') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF8
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:161:1: error: type '_Unicode.UTF8.ForwardParser' (aka 'UTF8.ForwardParser') does not conform to protocol '_UTFParser'
extension _Unicode.UTF8.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:78:16: note: candidate has non-matching type 'UTF8.ForwardParser._Buffer' (aka '_UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:220:15: note: candidate has non-matching type '(UInt8) -> UTF8.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt8>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:161:1: error: type '_Unicode.UTF8.ForwardParser' (aka 'UTF8.ForwardParser') does not conform to protocol 'UnicodeParser'
extension _Unicode.UTF8.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF8.swift:162:20: note: possibly intended match 'UTF8.ForwardParser.Encoding' (aka 'UTF8') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF8
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:12:1: error: type '_Unicode.UTF16' (aka 'UTF16') does not conform to protocol '_UTFEncoding'
extension _Unicode.UTF16 : _UTFEncoding {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:19:24: note: candidate has non-matching type '(UTF16.CodeUnit) -> Bool' (aka '(UInt16) -> Bool')
internal static func _isScalar(_ x: CodeUnit) -> Bool {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:21:15: note: protocol requires function '_isScalar' with type '(_Unicode.UTF16.CodeUnit) -> Bool'; do you want to add a stub?
static func _isScalar(_ x: Self.CodeUnit) -> Bool
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:58:1: error: type 'UTF16.ReverseParser' does not conform to protocol '_UTFParser'
extension UTF16.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:54:16: note: candidate has non-matching type 'UTF16.ReverseParser._Buffer' (aka '_UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:70:15: note: candidate has non-matching type '(UInt8) -> UTF16.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:58:1: error: type 'UTF16.ReverseParser' does not conform to protocol 'UnicodeParser'
extension UTF16.ReverseParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:59:20: note: possibly intended match 'UTF16.ReverseParser.Encoding' (aka 'UTF16') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF16
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:79:1: error: type '_Unicode.UTF16.ForwardParser' (aka 'UTF16.ForwardParser') does not conform to protocol '_UTFParser'
extension _Unicode.UTF16.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:48:16: note: candidate has non-matching type 'UTF16.ForwardParser._Buffer' (aka '_UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public var _buffer: _Buffer
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:91:15: note: candidate has non-matching type '(UInt8) -> UTF16.EncodedScalar' (aka '(UInt8) -> _UIntBuffer<UInt32, UInt16>') [with _UInt32 = UInt32]
public func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:79:1: error: type '_Unicode.UTF16.ForwardParser' (aka 'UTF16.ForwardParser') does not conform to protocol 'UnicodeParser'
extension _Unicode.UTF16.ForwardParser : _UTFParser {
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTF16.swift:80:20: note: possibly intended match 'UTF16.ForwardParser.Encoding' (aka 'UTF16') does not conform to '_UnicodeEncoding'
public typealias Encoding = _Unicode.UTF16
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:31:7: note: protocol requires property '_buffer' with type '_UIntBuffer<UInt32, <<error type>>.CodeUnit>'; do you want to add a stub?
var _buffer: Encoding.EncodedScalar { get set }
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UTFEncoding.swift:32:8: note: protocol requires function '_bufferedScalar(bitCount:)' with type '(UInt8) -> <<error type>>.EncodedScalar'; do you want to add a stub?
func _bufferedScalar(bitCount: UInt8) -> Encoding.EncodedScalar
^
/Users/Shared/dabrahams/s/swift/stdlib/public/core/UnicodeParser.swift:30:18: note: protocol requires nested type 'Encoding'; do you want to add it?
associatedtype Encoding : _UnicodeEncoding
^
No longer a blocker.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, CompilerCrash | |Assignee | @DougGregor | |Priority | Medium | md5: c0c7443c12efdb9e1bd346372e397a49Issue Description:
build the compiler with the following command
and get this assertion:
Other hashes