• Robert Griesemer's avatar
    spec: comma-ok expressions return untyped boolean 2nd result · c0fca138
    Robert Griesemer authored
    Technically a language change, this cleanup is a completely
    backward compatible change that brings the boolean results
    of comma-ok expressions in line with the boolean results of
    comparisons: they are now all untyped booleans.
    
    The implementation effort should be minimal (less than a
    handfull lines of code, depending how well factored the
    implementation of comma-ok expressions is).
    
    Fixes #8189.
    
    LGTM=iant, r, rsc
    R=r, rsc, iant, ken
    CC=golang-codereviews
    https://golang.org/cl/112320045
    c0fca138
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...