blob: 04782b9bf508388a75269e4be105707183e96e9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
-- suggestedfix_literals_10_2 --
// Copyright 2021 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.
package missingfunction
type T struct{}
func literals() {
undefinedLiterals("hey compiler", T{}, &T{}) //@suggestedfix("undefinedLiterals", "quickfix")
}
func undefinedLiterals(s string, t1 T, t2 *T) {
panic("implement me!")
}
-- suggestedfix_literals_6_2 --
package missingfunction
type T struct{}
func literals() {
undefinedLiterals("hey compiler", T{}, &T{}) //@suggestedfix("undefinedLiterals", "quickfix")
}
func undefinedLiterals(s string, t1 T, t2 *T) {
panic("unimplemented")
}
|