nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parser: factorize goto
[nit.git]
/
tests
/
base_eq.nit
diff --git
a/tests/base_eq.nit
b/tests/base_eq.nit
index
0b0a618
..
8c738bb
100644
(file)
--- a/
tests/base_eq.nit
+++ b/
tests/base_eq.nit
@@
-17,7
+17,7
@@
import kernel
class A
- readable attr _a: Int
+ readable var _a: Int
init(a: Int)
do
@@
-26,8
+26,8
@@
class A
end
class B
-special A
- redef meth ==(a: nullable Object): Bool
+ super A
+ redef fun ==(a: nullable Object): Bool
do
if not a isa B then
return false