From 21f14e371c0baa9d59678fe5645cea80586ef116 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Thu, 12 Jul 2012 15:14:09 +0200 Subject: SI-5957 enable direct parsing of nested java class classfile by weakening an assertion. explained in the source comment. --- test/files/pos/t5957/T_1.scala | 6 ++++++ test/files/pos/t5957/Test.java | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 test/files/pos/t5957/T_1.scala create mode 100644 test/files/pos/t5957/Test.java (limited to 'test/files/pos') diff --git a/test/files/pos/t5957/T_1.scala b/test/files/pos/t5957/T_1.scala new file mode 100644 index 0000000000..1db5a3891f --- /dev/null +++ b/test/files/pos/t5957/T_1.scala @@ -0,0 +1,6 @@ +abstract class T { + def t1: Test$Bar + def t2: Test#Bar + def t3: Test$Baz + def t4: Test.Baz +} diff --git a/test/files/pos/t5957/Test.java b/test/files/pos/t5957/Test.java new file mode 100644 index 0000000000..4fbd257d95 --- /dev/null +++ b/test/files/pos/t5957/Test.java @@ -0,0 +1,11 @@ +public class Test { + public class Bar { + public Bar(int i) { + } + } + + public static class Baz { + public Baz(int i) { + } + } +} -- cgit v1.2.3