diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-07-12 15:14:09 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2012-07-12 15:29:11 +0200 |
commit | 21f14e371c0baa9d59678fe5645cea80586ef116 (patch) | |
tree | 045dea18ffa44342aa079cf5abbdc1e19b162a38 /test | |
parent | 758f0a7ac5366c9748739032383456b6e7727d37 (diff) | |
download | scala-21f14e371c0baa9d59678fe5645cea80586ef116.tar.gz scala-21f14e371c0baa9d59678fe5645cea80586ef116.tar.bz2 scala-21f14e371c0baa9d59678fe5645cea80586ef116.zip |
SI-5957 enable direct parsing of nested java class classfile
by weakening an assertion. explained in the source comment.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t5957/T_1.scala | 6 | ||||
-rw-r--r-- | test/files/pos/t5957/Test.java | 11 |
2 files changed, 17 insertions, 0 deletions
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) { + } + } +} |