nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tinks, model_viewer & action_nitro: print model loading errors and fix one
[nit.git]
/
tests
/
example_procedural_string.nit
diff --git
a/tests/example_procedural_string.nit
b/tests/example_procedural_string.nit
index
c00d979
..
a53669d
100644
(file)
--- a/
tests/example_procedural_string.nit
+++ b/
tests/example_procedural_string.nit
@@
-18,7
+18,7
@@
fun first_word(s: String): String
do
- var result = new FlatBuffer
+ var result: Buffer = new FlatBuffer
var i = 0
while i < s.length and s.chars[i] != ' ' do
result.add(s.chars[i])