diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 13:26:49 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-24 13:26:49 -0400 |
| commit | 800e386105255c9c4faa9a7051b100a8768a70de (patch) | |
| tree | d1e8b6b221485330b92d225f32c29337d81b6675 /typecheck.c | |
| parent | 0609a26f3108148375d4ee2fb3d2d8f9c5756ae7 (diff) | |
Rename `from_unsafe_text` to `without_escaping`
Diffstat (limited to 'typecheck.c')
| -rw-r--r-- | typecheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/typecheck.c b/typecheck.c index 82eecce7..afeac420 100644 --- a/typecheck.c +++ b/typecheck.c @@ -365,7 +365,7 @@ void bind_statement(env_t *env, ast_t *statement) type_t *type = Type(TextType, .lang=def->name, .env=ns_env); Table$str_set(env->types, def->name, type); - set_binding(ns_env, "from_unsafe_text", + set_binding(ns_env, "without_escaping", new(binding_t, .type=Type(FunctionType, .args=new(arg_t, .name="text", .type=TEXT_TYPE), .ret=type), .code=CORD_all("(", namespace_prefix(env->libname, env->namespace), def->name, "_t)"))); |
