2
0
Эх сурвалжийг харах

Lua: normalize printing of anonymous objects

Justin Donaldson 10 жил өмнө
parent
commit
7bcad8ac67
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      std/lua/Boot.hx

+ 2 - 2
std/lua/Boot.hx

@@ -153,9 +153,9 @@ class Boot {
 					if (first) then 
 						first = false
 					else 
-						result = result .. ','
+						result = result .. ', '
 					end
-					result = result .. i .. ' => ' .. lua.Boot.__string_rec(v, s .. 'o');
+					result = result .. i .. ': ' .. lua.Boot.__string_rec(v, s .. 'o');
 				end
 			end
 			result = result .. ' }';