WeaselGenericClass retClass = method.getGenericReturn();
WeaselInstructionList instructions;
if(retClass.getBaseClass()==compiler.baseTypes.voidClass){
expect(iterator.next(), WeaselTokenType.SEMICOLON);
instructions = new WeaselInstructionList();
instructions.add(token.line, new WeaselInstructionReturnNull(compilerHelpher.getVarCount()));
}else{
WeaselTree tree = WeaselTree.parse(iterator, WeaselTokenType.SEMICOLON);
if(tree==null){
throw new WeaselCompilerException(token.line, "return need to return %s", retClass);
}