Skip to content

Commit

Permalink
go/types/objectpath: fix testcase for the fix of TypeName.IsAlias
Browse files Browse the repository at this point in the history
For CL 359656
For golang/go#49213

Change-Id: Ib2c5d8fa60702baf07530226322a0a113af6b9e8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/360335
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
  • Loading branch information
zhouguangyuan0718 authored and griesemer committed Nov 1, 2021
1 parent b7d65fb commit e8bb373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/types/objectpath/objectpath_go118_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ func F[FP0, FP1 any](FP0, FP1) {}
{"b", "T", "type b.T[b.TP0 interface{}, b.TP1 interface{M0(); M1()}] struct{}", ""},
{"b", "T.O", "type b.T[b.TP0 interface{}, b.TP1 interface{M0(); M1()}] struct{}", ""},
{"b", "T.M0", "func (b.T[b.RP0, b.RP1]).M()", ""},
//{"b", "T.T0O", "type TP0 = b.TP0", ""},
//{"b", "T.T1O", "type TP1 = b.TP1", ""},
{"b", "T.T0O", "type TP0 b.TP0", ""},
{"b", "T.T1O", "type TP1 b.TP1", ""},
{"b", "T.T1CM0", "func (interface).M0()", ""},
// Obj of an instance is the generic declaration.
{"b", "A.O", "type b.T[b.TP0 interface{}, b.TP1 interface{M0(); M1()}] struct{}", ""},
Expand Down

0 comments on commit e8bb373

Please sign in to comment.