diff options
Diffstat (limited to 'src/pkg/builtin/builtin.go')
-rw-r--r-- | src/pkg/builtin/builtin.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pkg/builtin/builtin.go b/src/pkg/builtin/builtin.go index d3c1a5c55..128a1b5f8 100644 --- a/src/pkg/builtin/builtin.go +++ b/src/pkg/builtin/builtin.go @@ -13,6 +13,12 @@ package builtin // bool is the set of boolean values, true and false. type bool bool +// true and false are the two untyped boolean values. +const ( + true = 0 == 0 // Untyped bool. + false = 0 != 0 // Untyped bool. +) + // uint8 is the set of all unsigned 8-bit integers. // Range: 0 through 255. type uint8 uint8 |