nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lib/dom: avoid crash on empty tags data access
[nit.git]
/
tests
/
icode_dmr_inh.nit
1
class
B
2
fun
foo
do
3
print
"bfoo"
4
end
5
end
6
7
class
A
8
super
B
9
redef fun
foo
do
10
print
"afoo"
11
end
12
end
13
14
var
o
:
B
15
#alt1#o = new B
16
#alt2#o = new B
17
#alt3#o = new B
18
#alt3#o.foo
19
o
=
new
A
#alt2#
20
o
.
foo