HaxeFoundation/haxe — pull request #3493 by nadako (2014-10-16 11:25:35+00:00)
Title: Support type hints in @:enum abstract fields (to support GADT-like behaviour)

Subj. This would allow us to define things like:

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

var Connect : SocketEvent Void> = "connect";

var Close : SocketEvent Void> = "close";

}
```