Compiler does not know Math ns is not not-native

Description

With static-fns true, compiler will emit invocations of functions in the Math "namespace" with a conditional arity check or .call() because it does not know that the Math namespace is not not-native. Example with the fix function (advanced compilation, pseudo-names true):

With attached patch, the following is emitted instead:

Environment

None

Activity

Show:
David Nolen
April 29, 2015, 1:04 PM

Assignee

Unassigned

Reporter

Francis Avila

Labels

Approval

None

Patch

Code

Priority

Minor
Configure