On Wed, Nov 2, 2016 at 9:09 AM Martin Steffen <martin.sput...@gmail.com> wrote:
> How should one interpret that? If ok behaves like a boolean, why is it considered as untyped? Because, in this special case, it really is untyped. It works the same way as untyped {int,float,...} constants, ie. an untyped bool value is assignment compatible with any LHS type having underlying type bool and its default type in short var declaration is bool (not untyped). -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.