We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e531e11 commit 57cec2fCopy full SHA for 57cec2f
src/go/go2go/names.go
@@ -33,8 +33,9 @@ var nameCodes = map[rune]int{
33
'.': 10,
34
'<': 11,
35
'-': 12,
36
- nameSep: 13,
37
- nameIntro: 14,
+ '/': 13,
+ nameSep: 14,
38
+ nameIntro: 15,
39
}
40
41
// instantiatedName returns the name of a newly instantiated function.
test/gen/g023.go2
@@ -0,0 +1,17 @@
1
+// compile
2
+
3
+// Copyright 2020 The Go Authors. All rights reserved.
4
+// Use of this source code is governed by a BSD-style
5
+// license that can be found in the LICENSE file.
6
7
+package p
8
9
+import "net/url"
10
11
+type S(type T) struct {
12
+ f T
13
+}
14
15
+func F() S(url.Error) {
16
+ return S(url.Error){}
17
0 commit comments