nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: remove remaining old-style attributes declarations
[nit.git]
/
tests
/
base_attr_nullable.nit
diff --git
a/tests/base_attr_nullable.nit
b/tests/base_attr_nullable.nit
index
08ad503
..
1d0ddab
100644
(file)
--- a/
tests/base_attr_nullable.nit
+++ b/
tests/base_attr_nullable.nit
@@
-25,14
+25,14
@@
enum Int
end
class Integer
end
class Integer
- var _val: Int
+ var val: Int
init(val: Int) do _val = val
fun output do _val.output
end
class Foo
init(val: Int) do _val = val
fun output do _val.output
end
class Foo
- var _a1: Integer
- var _a2: Integer
+ var a1: Integer
+ var a2: Integer
fun run
do
_a1.output
fun run
do
_a1.output
@@
-58,7
+58,7
@@
end
class Bar
super Foo
class Bar
super Foo
- var _a3: Integer
+ var a3: Integer
redef fun run
do
_a1.output
redef fun run
do
_a1.output