瀏覽代碼

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;
 		this.params = params;
 	}
 	}
 
 
-	function __str__() untyped {
-		return if (self.params == null) {
+	function __str__() {
+		return if (params == null) {
 			tag;
 			tag;
 		} else {
 		} else {
 			tag + "(" + params.join(",") + ")";
 			tag + "(" + params.join(",") + ")";