ソースを参照

replaced __string by toString

Nicolas Cannasse 20 年 前
コミット
ee7df92d76
1 ファイル変更4 行追加4 行削除
  1. 4 4
      std/neko/NekoString__.hx

+ 4 - 4
std/neko/NekoString__.hx

@@ -97,12 +97,12 @@ class NekoString__ implements String {
 		}
 	}
 
-	/* NEKO INTERNALS */
-
-	private function __string() {
-		return untyped this.__s;
+	public function toString() {
+		return this;
 	}
 
+	/* NEKO INTERNALS */
+
 	private function __compare(o) {
 		return untyped __compare__(this.__s,o.__s);
 	}