instructions.add(operator.line, new WeaselInstructionLoadConstBoolean(true));
}else{
if(wcr.getReturnType().getBaseClass().isPrimitive())
throw new WeaselCompilerException(operator.line, "can't use implements for primitives");
instructions = wcr.getInstructions();
instructions.add(operator.line, new WeaselInstructionInstanceof(wc.getByteName()));
}
ret = new WeaselGenericClass(compiler.baseTypes.booleanClass);
}else if(oper==WeaselOperator.CAST){
WeaselCastToken wct = (WeaselCastToken) operator;
WeaselClass wc = compiler.getWeaselClass(WeaselClass.mapClassNames(wct.className));