|
|
|
|
14
|
import org.openzen.zenscript.codemodel.member.FunctionalMember;
|
14
|
import org.openzen.zenscript.codemodel.member.FunctionalMember;
|
15
|
import org.openzen.zenscript.codemodel.scope.TypeScope;
|
15
|
import org.openzen.zenscript.codemodel.scope.TypeScope;
|
16
|
import org.openzen.zenscript.codemodel.type.StoredType;
|
16
|
import org.openzen.zenscript.codemodel.type.StoredType;
|
17
|
-import org.openzen.zenscript.codemodel.type.member.BuiltinID;
|
|
|
18
|
import org.openzen.zenscript.parser.ParsedAnnotation;
|
17
|
import org.openzen.zenscript.parser.ParsedAnnotation;
|
19
|
import org.openzen.zenscript.parser.definitions.ParsedFunctionHeader;
|
18
|
import org.openzen.zenscript.parser.definitions.ParsedFunctionHeader;
|
20
|
import org.openzen.zenscript.parser.statements.ParsedFunctionBody;
|
19
|
import org.openzen.zenscript.parser.statements.ParsedFunctionBody;
|
|
|
|
|
35
|
|
34
|
|
36
|
@Override
|
35
|
@Override
|
37
|
public void linkTypes(TypeResolutionContext context) {
|
36
|
public void linkTypes(TypeResolutionContext context) {
|
38
|
- compiled = new ConstructorMember(position, definition, modifiers, header.compile(context), header.parameters.isEmpty() ? BuiltinID.CLASS_DEFAULT_CONSTRUCTOR : null);
|
|
|
|
|
37
|
+ compiled = new ConstructorMember(position, definition, modifiers, header.compile(context), null);
|
39
|
}
|
38
|
}
|
40
|
|
39
|
|
41
|
@Override
|
40
|
@Override
|