wheredevel / beanshell2

Automatically exported from code.google.com/p/beanshell2
0 stars 0 forks source link

Virraidic Array in Constructor not supported #61

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
public class Table {
    public Table (String... columns) {

    }
}

new Table("a", "b");
raises "unknown constructor (java.lang.String, java.lang.String)

What is the expected output? What do you see instead?
working constructors like methods do

What version of the product are you using? On what operating system?
bsh-2.1b4

Please provide any additional information below.

Original issue reported on code.google.com by vorarlbe...@gmail.com on 21 Nov 2011 at 5:33

GoogleCodeExporter commented 8 years ago
sorry bad typo, mean: "variadic"

Original comment by vorarlbe...@gmail.com on 21 Nov 2011 at 5:35