I can run this code in Haskell
module Foo where
test = 1
module Bar where
test = 2
module Main where
import Foo
import Bar
main = print "test"
But PureScript compiler return an error
Conflicting imports for test from modules Bar and Foo
Is this a bug?
It is not a bug, but it will be changed.