Skip to content

Commit bac11b6

Browse files
committed
Clarification of output style, correct output, deletion of :skip-code declaration
1 parent 1be171c commit bac11b6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/Type/UInt.pod6

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@ Consequently, it cannot be instantiated or subclassed; however, that shouldn't a
1313
1414
Some examples of its behavior and uses:
1515
16-
=for code :skip-test
1716
my UInt $u = 0xffff_ffff_ffff_ffff_ffff_ffff_ffff_ffff; # 64-bit unsigned value
18-
say $u.base(16); # FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF (32 digits)
17+
say $u.base(16); # OUTPUT: «FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF␤» (32 digits)
1918
++$u;
20-
say $u.base(16); # 100000000000000000000000000000000 (33 digits!)
19+
say $u.base(16); # OUTPUT: «100000000000000000000000000000000␤» (33 digits!)
2120
my Int $i = $u;
2221
say $i.base(16); # same
23-
say $u.WHAT; # (UInt)
24-
say $i.WHAT; # (Int)
22+
say $u.WHAT; # OUTPUT: «(Int)␤» - UInt is a subset.
23+
say $i.WHAT; # OUTPUT: «(Int)␤»
2524
$u = $i;
26-
say $u.WHAT; # (Int)!! a subset of Int is an Int
25+
say $u.WHAT; # OUTPUT: «(Int)␤» - a subset of Int is an Int
2726
2827
=end pod

0 commit comments

Comments
 (0)