[swift-users] UInt8 in the REPL

Chris Lattner clattner at apple.com
Mon Jul 25 16:16:18 CDT 2016


> On Jul 25, 2016, at 2:46 AM, KS Sreeram via swift-users <swift-users at swift.org> wrote:
> 
> Hello
> 
> In the Swift 2.2 REPL, UInt8(200) is displayed as -56. Is this a known problem? “print” works fine though.

Yep, this is already fixed in Swift 3.

-Chris

> 
> Best
> KS Sreeram
> http://claylabs.com <http://claylabs.com/>
> 
> 
> 
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160725/2e358799/attachment.html>


More information about the swift-users mailing list