Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Multiple declarations of type constructor allowed in same scope #24

Closed
jameshfisher opened this issue Nov 30, 2011 · 1 comment
Closed
Labels

Comments

@jameshfisher
Copy link
Contributor

Given

data Tree = Foo
data Tree = Bar

I get the JS

var Foo = function(){};
var Bar = function(){};

In Haskell, this gives the complaint:

ERROR line 2 - Multiple declarations of type constructor "Tree"

See http://codepad.org/Pk15r2Bz

@puffnfresh
Copy link
Owner

Fixed in 97fba23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants