We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8548a7d commit 27d8c86Copy full SHA for 27d8c86
spec/type.dd
@@ -451,8 +451,8 @@ $(SPEC_RUNNABLE_EXAMPLE_FAIL
451
---
452
ubyte u1 = -1; // error, -1 cannot be represented in a ubyte
453
ushort u2 = -1; // error, -1 cannot be represented in a ushort
454
-uint u3 = int(-1); // ok, -1 can be represented in a uint
455
-ulong u4 = long(-1); // ok, -1 can be represented in a ulong
+uint u3 = int(-1); // ok, -1 can be represented in an int, which can be converted to a uint
+ulong u4 = long(-1); // ok, -1 can be represented in a long, which can covnerted to a ulong
456
457
)
458
0 commit comments