IDEA-171459 fix type cast for int literals used as byte / short in decompiled code

This commit is contained in:
Dmitry Cherniachenko
2017-04-14 00:00:42 +02:00
committed by Egor.Ushakov
parent 4beda48cf8
commit cd1acfa266
6 changed files with 293 additions and 5 deletions

View File

@@ -101,6 +101,7 @@ public class SingleClassesTest {
@Test public void testAnonymousParams() { doTest("pkg/TestAnonymousParams"); }
@Test public void testAccessReplace() { doTest("pkg/TestAccessReplace"); }
@Test public void testStringLiterals() { doTest("pkg/TestStringLiterals"); }
@Test public void testPrimitives() { doTest("pkg/TestPrimitives"); }
private void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();