JetBrains/kotlin — pull request #487 by MichaelNedzelsky (2014-07-02 17:49:05+00:00)
Title: js-backend: support for callable references

This commit adds support for callable references.
The following are supported:
* Function references
* Member references
* Extension function references
* Constructor references

Known issues:
* native and builtins functions for primitive types are not supported yet
* during evaluating expression for callable reference to member or non-local extension function new javascript function object is always created