HaxeFoundation/haxe — pull request #3319 by Simn (2014-09-05 21:12:43+00:00)
Title: Rewrite `unify_call_args`

This patch comes with three major internal changes:

1. `raw_class_field` now returns the applied type parameters along with the concrete class the field was found on.
2. `FInstance` now carries the applied instance type parameters.
3. All overload and field related handling in `unify_call_args` has been moved to a new function `unify_call_params`, which internally calls `unify_call_args`.

A consequence of 3. is that the AST now holds the actually used field for `TField` nodes. This along with the `FInstance` changes should allow @waneck to put several parts of gencommon to rest.

I'll merge this once travis greenlights it.