HaxeFoundation/haxe — pull request #3492 by nadako (2014-10-16 10:48:05+00:00)
Title: Support type hints in @:enum abstract fields if they unify with the abstract (to support GADT-like behaviour)

Subj. This would allos us to define things like:

```haxe
@:enum abstract SocketEvent(String) {

var Connect : SocketEvent Void> = "connect";

var Close : SocketEvent Void> = "close";

}
```