Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path Error on Windows & gofmt error due to error generating type. #45

Open
vaiktorg opened this issue Feb 3, 2019 · 0 comments
Open

Comments

@vaiktorg
Copy link

vaiktorg commented Feb 3, 2019

Description

  1. 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
  2. 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
Godot-Go version/commit hash 1746202
OS windows/amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant