-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
Description
I was trying to compile a simple program with psgo
that uses simple-json
. I expected lots of missing functions but instead, I found a compile error that arises directly from generated code:
.../output/Main/Main.go
# project.localhost/purescript-native/output/Foreign.Index
output/Foreign.Index/Foreign_Index.go:8:5: Foreign redeclared as imported package name
previous declaration during import "github.com/purescript-native/go-runtime"
output/Foreign.Index/Foreign_Index.go:128:22: use of package Foreign without selector
psgo: callProcess: go "build" "project.localhost/purescript-native/output/Main" (exit 2): failed