Resolving operator overloads functions
This commit is contained in:
@@ -849,7 +849,6 @@ parse_decl(B32 is_global){
|
||||
if(!expr->scope){
|
||||
compiler_error(tname, "Operator overload doesn't have body");
|
||||
}
|
||||
|
||||
if(!is_valid_operator_overload(pctx, tname->intern_val)){
|
||||
compiler_error(tname, "This operator cannot be overloaded");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user