nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge: Warn call on nullable receiver
[nit.git]
/
tests
/
base_no_object.nit
1
import end
2
3
class
Int
4
fun
output
is intern
5
end
6
7
class
A
8
fun
foo
do
1
.
output
9
end
10
11
var
a
=
new
A
12
a
.
foo
13
#alt1# if a isa Int then 2.output