only coerce the right side in template literal implosion

This commit is contained in:
Sebastian McKenzie 2015-03-26 00:59:58 +11:00
parent daecec2a86
commit ce25ebacbf

View File

@ -1,7 +1,7 @@
import * as t from "../../../types";
var buildBinaryExpression = function (left, right, file) {
return t.binaryExpression("+", coerce(left, file), coerce(right, file));
return t.binaryExpression("+", left, coerce(right, file));
};
function coerce(node, file) {