diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-12 18:12:53 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-12 18:12:53 -0400 |
| commit | a3c4e0a82d5b56e280cbf72af2ecf5a990b1f577 (patch) | |
| tree | e7b386efbe57d6c922130f56e056d62d8ee012ad /typecheck.c | |
| parent | 904917a2bd3b2e03bf2c399b5bc5f5e357d404a2 (diff) | |
Rename `without_escaping()` -> `from_text()`
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 c69432de..c5ca64c1 100644 --- a/typecheck.c +++ b/typecheck.c @@ -420,7 +420,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, "without_escaping", + set_binding(ns_env, "from_text", Type(FunctionType, .args=new(arg_t, .name="text", .type=TEXT_TYPE), .ret=type), CORD_all("(", namespace_prefix(env, env->namespace), def->name, "$$type)")); |
