test/typeparam/issue49893.dir/b.go
raw| 1 | // Copyright 2021 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package b |
| 6 | |
| 7 | import "./a" |
| 8 | |
| 9 | type Ap1[A, B any] struct { |
| 10 | opt a.Option[A] |
| 11 | } |
| 12 | |
| 13 | type Ap2[A, B any] struct { |
| 14 | opt a.Option[A] |
| 15 | } |