Closed orible closed 3 years ago
Fix import path on windows:
Dir() returns backslashed path, this filepath is then used as an import path in the resolver.go file.
resolver.go is then passed to the go AST parser, a backslashed import path then fails as it contains an invalid escape sequence.
Compiler then errors with the following error:
contentError: formatting: 38:14: unknown escape sequence, importError: E:/server/resolver.go:38:14: unknown escape sequence exit status 3
Thanks I'll do another pre-release! <3
Fix import path on windows:
Dir() returns backslashed path, this filepath is then used as an import path in the resolver.go file.
resolver.go is then passed to the go AST parser, a backslashed import path then fails as it contains an invalid escape sequence.
Compiler then errors with the following error:
contentError: formatting: 38:14: unknown escape sequence, importError: E:/server/resolver.go:38:14: unknown escape sequence exit status 3