diff options
Diffstat (limited to 'builtins/range.c')
| -rw-r--r-- | builtins/range.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/range.c b/builtins/range.c index 9b5af8cd..362174b0 100644 --- a/builtins/range.c +++ b/builtins/range.c @@ -35,7 +35,7 @@ static bool Range$equal(const Range_t *x, const Range_t *y, const TypeInfo *type static Text_t Range$as_text(const Range_t *r, bool use_color, const TypeInfo *type) { (void)type; - if (!r) return Text$from_str("Range"); + if (!r) return Text("Range"); return Text$format(use_color ? "\x1b[0;1mRange\x1b[m(first=%r, last=%r, step=%r)" : "Range(first=%r, last=%r, step=%r)", |
