| ... | ... | @@ -1249,7 +1249,13 @@ fn renderExpression( |
| 1249 | 1249 | .BuiltinCall => { |
| 1250 | 1250 | const builtin_call = @fieldParentPtr(ast.Node.BuiltinCall, "base", base); |
| 1251 | 1251 | |
| 1252 | | try renderToken(tree, stream, builtin_call.builtin_token, indent, start_col, Space.None); // @name |
| 1252 | // TODO: Remove condition after deprecating 'typeOf'. See https://github.com/ziglang/zig/issues/1348 |
| 1253 | if (mem.eql(u8, tree.tokenSlicePtr(tree.tokens.at(builtin_call.builtin_token)), "@typeOf")) { |
| 1254 | try stream.write("@TypeOf"); |
| 1255 | } else { |
| 1256 | try renderToken(tree, stream, builtin_call.builtin_token, indent, start_col, Space.None); // @name |
| 1257 | } |
| 1258 | |
| 1253 | 1259 | try renderToken(tree, stream, tree.nextToken(builtin_call.builtin_token), indent, start_col, Space.None); // ( |
| 1254 | 1260 | |
| 1255 | 1261 | var it = builtin_call.params.iterator(0); |