• David Chase's avatar
    cmd/compile: make numberlines line mismatch check ignore columns · d199369a
    David Chase authored
    This does not repair #31786, and in fact also unfixes the revert
    of CL 174617.  We were just getting lucky when it looked like
    it was working.  And unfortunately for the bug, there does not
    appear to be any particular problems with the line numbers;
    if anything they're a couple of extras, i.e., stepping might
    repeat, rather than skip.  Delve works fine either way.
    
    Updates #31786.
    
    Change-Id: I5c2fdc2a0265bb99773b3a85492a3db557dffee4
    Reviewed-on: https://go-review.googlesource.com/c/go/+/174948
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarKeith Randall <khr@golang.org>
    d199369a
numberlines.go 5.52 KB