Add synthetic argument to default constructors
It's need to add synthetic argument (of type that user can't use) to constructors with default arguments to avoid clashing with real user's constructor having the same set of parameters and additional int's arguments.
This commit is contained in:
@@ -8,7 +8,7 @@ class JavaClass {
|
||||
catch (E1 e) {}
|
||||
|
||||
try {
|
||||
new One(1, 0);
|
||||
new One(1, 0, null);
|
||||
}
|
||||
catch (E1 e) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user