Was decorating this by accident, fixed. 32 Kalypso tests passing

This commit is contained in:
Nathan Braswell
2016-02-17 13:59:10 -05:00
parent 21034a820f
commit c5dda4b7ec

View File

@@ -530,7 +530,11 @@ obj c_generator (Object) {
result += node->function.name
node->function.parameters.for_each(fun(param: *ast_node) result += string("_") + type_decoration(param->identifier.type);)
}
ast_node::identifier(backing) result = backing.name
ast_node::identifier(backing) {
if (backing.name == "this")
return backing.name
result = backing.name
}
}
if (result == "impossible name")
println("HUGE PROBLEMS")