pufuwozu/roy — Issue #25: Multiple declarations of data constructor allowed in same scope
Author: eegg
Created: 2011-11-30 13:44:37+00:00
State: open

Given

data Tree = Foo | Foo

I get the JS

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

where equivalent Haskell complains: `ERROR line 1 - Multiple declarations for data constructor "Foo"`

See http://codepad.org/b7yFXkvp