From 816e98b30f3a8299f53d9e1689e728b419da3b83 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Tue, 18 Nov 2014 21:33:46 -0500 Subject: [PATCH] array: fix missing documentation warnings Signed-off-by: Alexandre Terrasa --- lib/standard/collection/array.nit | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/standard/collection/array.nit b/lib/standard/collection/array.nit index 8a65888..a71b6c8 100644 --- a/lib/standard/collection/array.nit +++ b/lib/standard/collection/array.nit @@ -785,8 +785,14 @@ universal NativeArray[E] fun length: Int is intern # Use `self` to initialize a standard Nit Array. fun to_a: Array[E] do return new Array[E].with_native(self, length) + + # Get item at `index`. fun [](index: Int): E is intern + + # Set `item` at `index`. fun []=(index: Int, item: E) is intern + + # Copy `length` items to `dest`. fun copy_to(dest: NativeArray[E], length: Int) is intern #fun =(o: NativeArray[E]): Bool is intern #fun !=(o: NativeArray[E]): Bool is intern -- 1.7.9.5