瀏覽代碼

Merge branch 'master' into testing

Yentl Van Tendeloo 7 年之前
父節點
當前提交
074e99eb9f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      bootstrap/semi_primitives.alc

+ 2 - 1
bootstrap/semi_primitives.alc

@@ -245,7 +245,8 @@ String function dict_to_string(d : Element):
 		result = result + cast_v2s(key)
 		result = result + ": "
 		result = result + cast_v2s(dict_read_node(d, key))
-		result = result + ", "
+		if (set_len(keys) > 0):
+			result = result + ", "
 	
 	result = result + "}"