Browse Source

i is for index, K is for key, the comment has it right, but the interface beats me

Mike Smullin 8 years ago
parent
commit
0f061da43f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/Lua.hx

+ 1 - 1
std/lua/Lua.hx

@@ -53,7 +53,7 @@ extern class Lua {
 		to a non-existent field in the table is assigned. Existing fields may
 		however be modified. In particular, existing fields may be cleared.
 	**/
-	public static function next<K,V>(k:Table<K, V>, ?i : V): NextResult<K,V>;
+	public static function next<K,V>(k:Table<K, V>, ?i : K): NextResult<K,V>;
 
 	/**
 		Receives an argument of any type and converts it to a string in a reasonable