When generating wrappers in windows, go confuses "\" depending on the method used for getting the file name. This can be fixed with: preHeader := filepath.ToSlash(headerName) on line 361 of types/generate.go
As soon as this fix was done, gofmt throws an error saying it expects a symbol and found newline. Output as attachment. output.txt
Details
Go version
go1.11.5
Godot version
based on the output: /c/Users/*****/scoop/shims/godot (3.0.6
Description
preHeader := filepath.ToSlash(headerName)
on line 361 oftypes/generate.go
Details