changeset 186:35d2cc193d99

Add string conversion inside array join so callers don't need to worry about doing string conversions themselves
author Mike Pavone <pavone@retrodev.com>
date Mon, 26 Aug 2013 17:27:17 -0700
parents 181d8754a2ae
children 810edf474f86
files modules/array.tp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/array.tp	Sun Aug 25 14:45:00 2013 -0700
+++ b/modules/array.tp	Mon Aug 26 17:27:17 2013 -0700
@@ -105,7 +105,7 @@
 
 	join <- :sep {
 		if: length > 0 {
-			str <- get: 0
+			str <- string: (get: 0)
 			idx <- 1
 			l <- length
 			while: { idx < l } do: {