nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git]
/
tests
/
test_map_closure_default.nit
diff --git
a/tests/test_map_closure_default.nit
b/tests/test_map_closure_default.nit
index
d6a57d6
..
e374d5e
100644
(file)
--- a/
tests/test_map_closure_default.nit
+++ b/
tests/test_map_closure_default.nit
@@
-15,7
+15,7
@@
# limitations under the License.
redef class Map[K, V]
- meth get(k: K): V
+ fun get(k: K): V
with default: V do abort
do
if has_key(k) then return self[k]