diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-06-09 11:22:05 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-06-09 11:24:06 +0200 |
commit | 874455a91568ed98e036e9a51e4c9cf28f5fb8d1 (patch) | |
tree | b53aa2fd49ef8d66a549adc553753b3d9caf1707 /test/files/run/toolbox-varargs/Varargs.java | |
parent | 10a746551dce2ec61f52be74bbd3a476a3068568 (diff) | |
download | scala-874455a91568ed98e036e9a51e4c9cf28f5fb8d1.tar.gz scala-874455a91568ed98e036e9a51e4c9cf28f5fb8d1.tar.bz2 scala-874455a91568ed98e036e9a51e4c9cf28f5fb8d1.zip |
SI-9212 Fix toolbox with varargs constructors
It was already working for methods, but not for constructors.
Diffstat (limited to 'test/files/run/toolbox-varargs/Varargs.java')
-rw-r--r-- | test/files/run/toolbox-varargs/Varargs.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/toolbox-varargs/Varargs.java b/test/files/run/toolbox-varargs/Varargs.java new file mode 100644 index 0000000000..da1dbbacc9 --- /dev/null +++ b/test/files/run/toolbox-varargs/Varargs.java @@ -0,0 +1,8 @@ +package p; + +public class Varargs { + public Varargs(String... args) {} + public static void staticMethod(String... args) {} + + public void instanceMethod(String... args) {} +} |