diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2017-03-17 09:52:09 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2017-03-17 10:11:39 +0100 |
commit | 954ea7e2e94b211a0769747a2e03f48609eddb4d (patch) | |
tree | fe921bf2bcee5ce3b893f809e668e9d5a3b5394c /test/files/run/t10231/A_1.java | |
parent | 6048c661f7312be9bbfdde1edac963336d956c0e (diff) | |
download | scala-954ea7e2e94b211a0769747a2e03f48609eddb4d.tar.gz scala-954ea7e2e94b211a0769747a2e03f48609eddb4d.tar.bz2 scala-954ea7e2e94b211a0769747a2e03f48609eddb4d.zip |
SI-10231 Skip outer parameter when classfile parsing java param names
Nested java classes have a synthetic outer parameter, which the classfile parser
skips for the constructor symbol. When assigning parameter names from the
MethodParameters classfile attribute, we also need to skip the first name in this
case.
Diffstat (limited to 'test/files/run/t10231/A_1.java')
-rw-r--r-- | test/files/run/t10231/A_1.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/t10231/A_1.java b/test/files/run/t10231/A_1.java new file mode 100644 index 0000000000..5cc2ed3606 --- /dev/null +++ b/test/files/run/t10231/A_1.java @@ -0,0 +1,11 @@ +/* + * javac: -parameters + */ +public class A_1 { + public class Inner { + public int x; + public Inner(int i) { + x = i; + } + } +} |