This commit has its date moved to earlier to reflect when the work was completed, as I forgot to actually make the commit until 2 minutes after midnight :/. It partially fixed a bug where ADT requires equality for its member types but won't use templated equality to be if there isn't a regular equality operator (not templated) it always returns false
This commit is contained in:
@@ -143,6 +143,12 @@ obj c_generator (Object) {
|
||||
|
||||
}
|
||||
fun generate_function_call(node: *ast_node): string {
|
||||
if (is_function_call(node->function_call.func) &&
|
||||
is_function(node->function_call.func->function_call.func) &&
|
||||
(node->function_call.func->function_call.func->name == "." || node->function_call.func->function_call.func->name == ".") &&
|
||||
) {
|
||||
}
|
||||
|
||||
var func_name = generate(node->function_call.func)
|
||||
var parameters = node->function_call.parameters
|
||||
if (func_name == "+" || func_name == "-" || func_name == "*" || func_name == "/" || func_name == "||"
|
||||
|
||||
Reference in New Issue
Block a user