Don't call redundant toString for variables of type Int
Refactor StringTemplateTranslator a little
This commit is contained in:
@@ -71,6 +71,10 @@ public final class StringTest extends AbstractExpressionTest {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
public void testNumbersInTemplate() throws Exception {
|
||||
fooBoxIsValue("2354");
|
||||
}
|
||||
|
||||
private void checkHasNoToStringCalls() throws IOException {
|
||||
for (EcmaVersion ecmaVersion : DEFAULT_ECMA_VERSIONS) {
|
||||
String filePath = getOutputFilePath(getTestName(true) + ".kt", ecmaVersion);
|
||||
|
||||
Reference in New Issue
Block a user