Browse Source

remove untyped in EnumImpl.__str__

Simon Krajewski 11 năm trước cách đây
mục cha
commit
84345bd70b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      std/python/internal/EnumImpl.hx

+ 2 - 2
std/python/internal/EnumImpl.hx

@@ -13,8 +13,8 @@ class EnumImpl {
 		this.params = params;
 	}
 
-	function __str__() untyped {
-		return if (self.params == null) {
+	function __str__() {
+		return if (params == null) {
 			tag;
 		} else {
 			tag + "(" + params.join(",") + ")";