冲突的进口

Conflicting imports

我可以 运行 这个代码 Haskell

module Foo where
test = 1

module Bar where
test = 2

module Main where
import Foo
import Bar
main = print "test"

但是 PureScript 编译器return出错

Conflicting imports for test from modules Bar and Foo

这是一个错误吗?

这不是一个错误,但它会被更改。

https://github.com/purescript/purescript/issues/1497