syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / bench_nsieve_bool.nit
index 4adb225..36da71a 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-meth nsieve(n: Int): Int
+fun nsieve(n: Int): Int
 do
        var count = n-2
        var array = new Array[Bool].with_capacity(n)
@@ -36,7 +36,7 @@ do
        return count
 end
 
-meth test(n: Int)
+fun test(n: Int)
 do
        var m = 10000.lshift(n)
        print("Primes up to {m} {nsieve(m)}")