aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-01-25 15:43:52 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-01-25 15:43:52 -0500
commitbbe5133133a26ed62367c9c04a7f843923edd963 (patch)
tree02dcdd94559f3ef1d97c27fd56e633f3737846c8
parentf905f1e4d1c77410931dc5ebfd8bcf466864a3e2 (diff)
Bugfix for Text->Path conversion
-rw-r--r--src/environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environment.c b/src/environment.c
index 0cbeb0fc..eb2c275c 100644
--- a/src/environment.c
+++ b/src/environment.c
@@ -521,7 +521,7 @@ env_t *global_env(bool source_mapping) {
{"Num32$from_int", "func(i:Int, truncate=no -> Num32)"}, //
{"Num32$from_num64", "func(n:Num -> Num32)"});
ADD_CONSTRUCTORS("Path", //
- {"Path$escape_text", "func(text:Text -> Path)"}, //
+ {"Path$from_text", "func(text:Text -> Path)"}, //
{"Path$escape_path", "func(path:Path -> Path)"}, //
{"Int$value_as_text", "func(i:Int -> Path)"});
ADD_CONSTRUCTORS("CString", //