nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0633f53
)
tests: do not fail test_attr
author
Jean Privat
<jean@pryen.org>
Tue, 10 Apr 2012 16:05:37 +0000
(12:05 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 10 Apr 2012 18:30:31 +0000
(14:30 -0400)
_i and _j are not initialized.
but the current compiler do not check that Sys is correctly built.
Signed-off-by: Jean Privat <jean@pryen.org>
tests/test_attr.nit
patch
|
blob
|
history
diff --git
a/tests/test_attr.nit
b/tests/test_attr.nit
index
36bc108
..
d667658
100644
(file)
--- a/
tests/test_attr.nit
+++ b/
tests/test_attr.nit
@@
-15,8
+15,8
@@
# limitations under the License.
redef class Sys
- var _i: Int
- var _j: Int
+ var _i: Int = 0
+ var _j: Int = 0
redef fun main
do
printn(5)