Store user defined constructors.

This commit is contained in:
Juraj Kirchheim
2016-05-20 12:41:20 +02:00
parent d84fb38d73
commit 3470f1cc47

View File

@@ -55,7 +55,7 @@ class ClassBuilder {
init(); init();
if (constructor == null) if (constructor == null)
if (fallback != null) if (fallback != null)
new Constructor(this, fallback); constructor = new Constructor(this, fallback);
else { else {
var sup = target.superClass; var sup = target.superClass;
while (sup != null) { while (sup != null) {