scala-js/scala-js — pull request #1200 by sjrd (2014-10-28 13:51:01+00:00)
Title: Fix #1175: Tighten the definition of Closure nodes.

Captures can have any type, but must always be immutable.

Parameters, and the `this` parameter, must always be of type `AnyType`, and the result type must be `AnyType` as well. Parameters can be mutable.