nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/mnit_ballz: fix call on nullable receiver warnings
[nit.git]
/
examples
/
mnit_ballz
/
src
/
ballz_android.nit
diff --git
a/examples/mnit_ballz/src/ballz_android.nit
b/examples/mnit_ballz/src/ballz_android.nit
index
0f46bfc
..
ee41e9c
100644
(file)
--- a/
examples/mnit_ballz/src/ballz_android.nit
+++ b/
examples/mnit_ballz/src/ballz_android.nit
@@
-46,6
+46,7
@@
redef class App
redef fun on_create
do
super
+ var display = self.display.as(not null)
game = new Game(display.width.to_f, display.height.to_f)
end