A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/andyarvanitis/purescript-native/issues/38 below:

Name clash when compiling Foreign.Index · Issue #38 · andyarvanitis/purescript-native · GitHub

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4