diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 19:39:17 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-29 19:39:17 -0500 |
| commit | e2fa11b7fe35c6d7033e15725d08a09bd0f3c73a (patch) | |
| tree | 495ec5fa862b7415d88bec7291f734fa6a12ed37 /compile.c | |
| parent | 0d6ef67a014f231b4e24b71bb85ec1e4df5b6319 (diff) | |
Rename :serialize() -> :serialized()
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2727,9 +2727,9 @@ CORD compile(env_t *env, ast_t *ast) auto call = Match(ast, MethodCall); type_t *self_t = get_type(env, call->self); - if (streq(call->name, "serialize")) { + if (streq(call->name, "serialized")) { if (call->args) - code_err(ast, ":serialize() doesn't take any arguments"); + code_err(ast, ":serialized() doesn't take any arguments"); return CORD_all("generic_serialize((", compile_declaration(self_t, "[1]"), "){", compile(env, call->self), "}, ", compile_type_info(env, self_t), ")"); } |
