Browse Source

CTypeTools.toString missed closing braces for CAnonymous (#8074)

kaikoga 6 năm trước cách đây
mục cha
commit
890172c8a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/rtti/CType.hx

+ 1 - 1
std/haxe/rtti/CType.hx

@@ -560,7 +560,7 @@ class CTypeTools {
 					"Dynamic<" + toString(d) + ">";
 				}
 			case CAnonymous(fields):
-				"{ " + fields.map(classField).join(", ");
+				"{ " + fields.map(classField).join(", ") + "}";
 		}
 	}