nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: forgot to add doc/git-get-version.sh
[nit.git]
/
tests
/
error_expr_not_ok.nit
diff --git
a/tests/error_expr_not_ok.nit
b/tests/error_expr_not_ok.nit
index
edeb2ae
..
0f3063d
100644
(file)
--- a/
tests/error_expr_not_ok.nit
+++ b/
tests/error_expr_not_ok.nit
@@
-35,7
+35,7
@@
fun trash(x: A) do end
#alt4#var fail: Object = 5
#alt5#var fail: Object = 5
#alt5#fail = fail2(5)
#alt4#var fail: Object = 5
#alt5#var fail: Object = 5
#alt5#fail = fail2(5)
-
+#alt6#var fail = null
var ok = 5
ok.fail
var nok: Int = fail
var ok = 5
ok.fail
var nok: Int = fail