فهرست منبع

remove untyped in EnumImpl.__str__

Simon Krajewski 11 سال پیش
والد
کامیت
84345bd70b
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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(",") + ")";