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:
Denis Zharkov
2015-02-27 19:07:24 +03:00
parent 67f97fea42
commit 4022982760
8 changed files with 80 additions and 5 deletions
@@ -8,7 +8,7 @@ class JavaClass {
catch (E1 e) {}
try {
new One(1, 0);
new One(1, 0, null);
}
catch (E1 e) {}