• Rémy Oudompheng's avatar
    cmd/gc: fix spurious type errors in walkselect. · fcc10bc0
    Rémy Oudompheng authored
    The lowering to runtime calls introduces hidden pointers to the
    arguments of select clauses. When implicit conversions were
    involved it could end up with incompatible pointers. Since the
    pointed-to types have the same representation, we can introduce a
    forced conversion.
    
    Fixes #6847.
    
    LGTM=rsc
    R=rsc, iant, khr
    CC=golang-codereviews
    https://golang.org/cl/72380043
    fcc10bc0
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...