ie. this seems to work for me
diff --git a/src/go/scanner/errors.go b/src/go/scanner/errors.go
index 22de69c..7c9ab25 100644
--- a/src/go/scanner/errors.go
+++ b/src/go/scanner/errors.go
@@ -62,7 +62,14 @@ func (p ErrorList) Less(i, j int) bool {
return true
}
if e.Line == f.Line {
- return e.Column < f.Column
+ if e.Column < f.Column {
+ return true
+ }
+ if e.Column == f.Column {
+ if p[i].Msg < p[j].Msg {
+ return true
+ }
+ }
}
}
return false