Merge pull request #3576 from parkera/se86_outputstream

Rename OutputStream to OutputStreamable [SE-0086]
This commit is contained in:
Tony Parker
2016-07-19 13:45:01 -07:00
committed by GitHub
12 changed files with 81 additions and 78 deletions

View File

@@ -140,7 +140,7 @@ internal func _reflect<T>(_ x: T) -> _Mirror
/// Dump an object's contents using its mirror to the specified output stream.
@discardableResult
public func dump<T, TargetStream : OutputStream>(
public func dump<T, TargetStream : TextOutputStream>(
_ value: T,
to target: inout TargetStream,
name: String? = nil,
@@ -183,7 +183,7 @@ public func dump<T>(
}
/// Dump an object's contents. User code should use dump().
internal func _dump_unlocked<TargetStream : OutputStream>(
internal func _dump_unlocked<TargetStream : TextOutputStream>(
_ value: Any,
to target: inout TargetStream,
name: String?,
@@ -282,7 +282,7 @@ internal func _dump_unlocked<TargetStream : OutputStream>(
/// Dump information about an object's superclass, given a mirror reflecting
/// that superclass.
internal func _dumpSuperclass_unlocked<TargetStream : OutputStream>(
internal func _dumpSuperclass_unlocked<TargetStream : TextOutputStream>(
mirror: Mirror,
to target: inout TargetStream,
indent: Int,