Avatar
これ最適化の有無で結果が変わるね。 $ pbpaste let b: Bool = nil as String? is AnyObject print(b) $ pbpaste|swiftc -suppress-warnings - && ./main false $ pbpaste|swiftc -suppress-warnings -O - && ./main true