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
Swift version 2.2-dev (LLVM 846c513aa9, Clang 71eca7da8e, Swift 96628e41cc).
Ubuntu 14.04.4 LTS, 64-bit.
Additional Detail from JIRA
Votes
0
Component/s
LLDB for Swift
Labels
Bug, Linux
Assignee
None
Priority
Medium
md5: 0c152f5b9414e29ac9fa85e37af3f6ae
is duplicated by:
SR-1138 Unsigned types display as signed in REPL (UInt8, UInt16, UInt32, UInt64)
SR-1751 Debugger shows data not matching the type of a variable
Issue Description:
For all unsigned integer types, the max property has a value of -1 instead of a correct positive value. However, when try to print these values, the output IS correct.
For example, in Swift REPL, UInt8.max is evaluated to -1, but print(UInt8.max) will generate the correct output, 255. Same applies to all other unsigned integer types.
How to reproduce:
1, launch Swift REPL
2, type UInt8.max
The text was updated successfully, but these errors were encountered:
Environment
Swift version 2.2-dev (LLVM 846c513aa9, Clang 71eca7da8e, Swift 96628e41cc).
Ubuntu 14.04.4 LTS, 64-bit.
Additional Detail from JIRA
md5: 0c152f5b9414e29ac9fa85e37af3f6ae
is duplicated by:
Issue Description:
For all unsigned integer types, the max property has a value of -1 instead of a correct positive value. However, when try to print these values, the output IS correct.
For example, in Swift REPL, UInt8.max is evaluated to -1, but print(UInt8.max) will generate the correct output, 255. Same applies to all other unsigned integer types.
How to reproduce:
1, launch Swift REPL
2, type UInt8.max
The text was updated successfully, but these errors were encountered: