You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SR-1007 Unsigned integer types have incorrect max values
Issue Description:
When the REPL evaluates unsigned values, they display as if they were signed. print() shows the correct unsigned value however. Probably related to: https://bugs.swift.org/browse/SR-1007
Environment
OSX 10.11.4 (15E65), Swift 2.2
Additional Detail from JIRA
md5: 2d2afd2d1c9e64fbafa900f1e21ac285
duplicates:
Issue Description:
When the REPL evaluates unsigned values, they display as if they were signed. print() shows the correct unsigned value however. Probably related to: https://bugs.swift.org/browse/SR-1007
Example:
1> var x: UInt8 = 150
x: UInt8 = -106
2> print❌
150
3> var y: UInt16 = 50000
y: UInt16 = -15536
4> var z: UInt32 = 3000000000
z: UInt32 = -1294967296
The text was updated successfully, but these errors were encountered: