nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: compile dir is `nit_compile`, and cleannit
[nit.git]
/
tests
/
shootout_nsieve.nit
diff --git
a/tests/shootout_nsieve.nit
b/tests/shootout_nsieve.nit
index
acc2856
..
2137a3a
100644
(file)
--- a/
tests/shootout_nsieve.nit
+++ b/
tests/shootout_nsieve.nit
@@
-17,7
+17,7
@@
fun nsieve(n: Int): Int
do
var count = 0
- var array = new FlatBuffer.with_capacity(n)
+ var array: Buffer = new FlatBuffer.with_capacity(n)
for i in [0..n[ do
array.chars[i] = 'o'
end