mapleelpam/programnode-translator — Issue #229: (生成代碼測試) 類型轉換問題
Author: zhaoshihun
Created: 2011-10-08 06:40:12+00:00
State: open

tokenizer.parseError( "Leading commas are not supported. Expecting ']' but found " + token.value );
被翻譯為：
tokenizer->parseError("Leading commas are not supported. Expecting ']' but found " + Number(token->value).toString());
正確的是：
tokenizer->parseError("Leading commas are not supported. Expecting ']' but found " + token->value->toString());

about 類型轉換的問題，涉及各種類型、包括內置類型之間的轉黃。這一問題在轉換后的代碼中廣泛存在，具體情況比較複雜。