]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] cmd/compile/internal/types2: review of package.go
authorRobert Griesemer <gri@golang.org>
Tue, 27 Oct 2020 18:19:47 +0000 (11:19 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 27 Oct 2020 23:30:30 +0000 (23:30 +0000)
f=package.go; diff $f ../../../../go/types/$f
5c5
< package types2
---
> package types
8a9
>  "go/token"
25c26
<  scope := NewScope(Universe, nopos, nopos, fmt.Sprintf("package %q", path))
---
>  scope := NewScope(Universe, token.NoPos, token.NoPos, fmt.Sprintf("package %q", path))

Change-Id: I3a34b39e337c2d0224445e5dc5fbd4a6a53f0363
Reviewed-on: https://go-review.googlesource.com/c/go/+/265677
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/package.go

index 03ae6ff5b7678c24c3954a2114a5eece00837e02..31b1e7178771f5db37264b4886b8b3604e03b4b3 100644 (file)
@@ -1,4 +1,3 @@
-// UNREVIEWED
 // Copyright 2013 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.