diff options
Diffstat (limited to 'std/prelude/format.pk')
-rw-r--r-- | std/prelude/format.pk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/prelude/format.pk b/std/prelude/format.pk index 3adb68b..4f4746d 100644 --- a/std/prelude/format.pk +++ b/std/prelude/format.pk @@ -39,7 +39,7 @@ pub func dbg(self: tuple): str = ## An implementation of the Debug interface for all arrays and lists. pub func dbg[T: Debug](self: Iter[T]): str = - "[{}]".fmt(self.map(x => x.str).join(", ")) + "[{}]".fmt(self.map(x => x.dbg).join(", ")) ## The fmt macro. Builds a formatted string from its arguments. pub macro fmt(self: static[str], args: varargs[Display]): str = |