• Matthew Dempsky's avatar
    cmd/compile: omit ICE diagnostics after normal error messages · f3d4ff7d
    Matthew Dempsky authored
    After we detect errors, the AST is in a precarious state and more
    likely to trip useless ICE failures. Instead let the user fix any
    existing errors and see if the ICE persists.  This makes Fatalf more
    consistent with how panics are handled by hidePanic.
    
    While here, also fix detection for release versions: release version
    strings begin with "go" ("go1.8", "go1.9.1", etc), not "release".
    
    Fixes #22252.
    
    Change-Id: I1c400af62fb49dd979b96e1bf0fb295a81c8b336
    Reviewed-on: https://go-review.googlesource.com/70850
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    f3d4ff7d
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...