HaxeFoundation/haxe — pull request #2180 by frabbit (2013-09-16 22:35:26+00:00)
Title: Allow to expose fields of the underlying type of an abstract with a diff...

...erent name.

This patch allows abstracts to expose fields of the underlying type with an alias. In addition to a regular definition like @:expose(push, unshift) it also allows a definition like @:expose(push => pushEnd, unshift => pushFront). It's also possible to mix both definition types like @:expose(push, unshift => pushFront).