Skip to content

Commit d7ada9c

Browse files
committed
Fixed bug with errors in interfaces
There was no space between type and name of error arguments before.
1 parent 283e5c9 commit d7ada9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ interface {{.Name}} {
237237
238238
// errors
239239
{{- range .ABI.Errors}}
240-
error {{.Name}}({{- range $i, $error := .Inputs}}{{if $i}}, {{end}}{{.Type}}{{.Name}}{{- end}});
240+
error {{.Name}}({{- range $i, $error := .Inputs}}{{if $i}}, {{end}}{{.Type}} {{.Name}}{{- end}});
241241
{{- end}}
242242
}
243243
`

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"os"
99
)
1010

11-
var VERSION string = "0.0.3"
11+
var VERSION string = "0.0.4"
1212

1313
func main() {
1414
var interfaceName string

0 commit comments

Comments
 (0)