Browse Source

Lua : better naming for @:to in NativeIterator

Justin Donaldson 9 năm trước cách đây
mục cha
commit
4653547f7e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/lua/NativeIterator.hx

+ 1 - 1
std/lua/NativeIterator.hx

@@ -40,7 +40,7 @@ abstract NativeIterator<T>(Void->T) {
 	}
 
 	@:to
-	public function toF() : Iterator<T> {
+	public function toIterator() : Iterator<T> {
 		return new HaxeIterator(this);
 	}
 }