mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.inline] cmd/compile/internal/syntax: introduce general position info for nodes
Reviewed in and cherry-picked from https://go-review.googlesource.com/#/c/33758/. Minor adjustments in noder.go to fix merge. Change-Id: Ibe429e327c7f8554f8ac205c61ce3738013aed98 Reviewed-on: https://go-review.googlesource.com/34231 Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
parent
eaca0e0529
commit
8d20b25779
11 changed files with 380 additions and 111 deletions
|
|
@ -39,7 +39,7 @@ func TestStdLib(t *testing.T) {
|
|||
|
||||
type parseResult struct {
|
||||
filename string
|
||||
lines int
|
||||
lines uint
|
||||
}
|
||||
|
||||
results := make(chan parseResult)
|
||||
|
|
@ -65,7 +65,7 @@ func TestStdLib(t *testing.T) {
|
|||
}
|
||||
}()
|
||||
|
||||
var count, lines int
|
||||
var count, lines uint
|
||||
for res := range results {
|
||||
count++
|
||||
lines += res.lines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue