nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add default values for some primitive type attributes.
[nit.git]
/
tests
/
example_point.nit
diff --git
a/tests/example_point.nit
b/tests/example_point.nit
index
1481487
..
c2363c2
100644
(file)
--- a/
tests/example_point.nit
+++ b/
tests/example_point.nit
@@
-63,6
+63,7
@@
private
init
do
init
do
+ moveto(0, 0)
end
init at(x: Int, y: Int)
end
init at(x: Int, y: Int)