     return "XString"
   }
 }
-class TestStream : Streamable {
-  func writeTo<Target : OutputStreamType>(inout target: Target) {
+class TestStream: Streamable {
+  func writeTo<Target: OutputStreamType>(inout target: Target) {
     target.write("AStream")
   }
 }

  expectTrue(anyToAnyOrNil(nx, C.self) == nil)

  let i = Int.max
  let si : Int? = Int.max
  let ni : Int? = nil
  expectEqual(anyToAny(i, Optional<Int>.self)!, Int.max)
  expectEqual(anyToAny(si, Int.self), Int.max)
  expectEqual(anyToAny(si, Optional<Int>.self)!, Int.max)

  // (directly invoking debugPrint(Any) already works correctly).
  expectEqual(debugPrintStr(iouString), "AString")

  let optStream: TestStream? = TestStream()
  expectTrue(optStream is Streamable)
  expectTrue(canGenericCast(optStream, Streamable.self))
  expectTrue(optStream is CustomDebugStringConvertible)
