Ver código fonte

Merge branch 'master' into testing

Yentl Van Tendeloo 7 anos atrás
pai
commit
074e99eb9f
1 arquivos alterados com 2 adições e 1 exclusões
  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 + "}"