소스 검색

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(",") + ")";