mapleelpam/programnode-translator — Issue #237: (生成代碼測試) AS中对静态方法的调用
Author: zhaoshihun
Created: 2011-10-08 06:53:20+00:00
State: open

AS中对静态方法的调用
String.fromCharCode( parseInt( hexValue, 16 ) );
被译为
Stringinvoke("::fromCharCode", false, 0 ,parseInt(hexValue, 16) ));
不应使用invoke调用。String在这里应该以NativeString出现。
应该是
NativeString::fromCharCode(parseInt(hexValue, 16));