Jens, the issue is not anything to do with ambiguity, it has to do
with the way we are able to treat an anonymous class as both a
function and an object, see Runtime.java makeLambdaFunction
/**
* Create a function that applies the specified samMethod on itself,
and whose __proto__ points to
That would be — awesome. Pretty please? :)
On Tuesday, May 17, 2016 at 11:13:09 AM UTC-7, Jens wrote:
>
>
> The issue is that @JsFunction implementors must "extend
>> java.lang.Object" as their parent. because standard library functions
>> are/canbe implemented on classes with complicated
> The issue is that @JsFunction implementors must "extend
> java.lang.Object" as their parent. because standard library functions
> are/canbe implemented on classes with complicated type hierarchies,
> this would cause failures to compile.
>
> This restriction comes about from the efficiency