nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelog.sh: also count commits
[nit.git]
/
tests
/
error_prop_loc.nit
diff --git
a/tests/error_prop_loc.nit
b/tests/error_prop_loc.nit
index
b74fc3c
..
4872f08
100644
(file)
--- a/
tests/error_prop_loc.nit
+++ b/
tests/error_prop_loc.nit
@@
-14,22
+14,25
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-import end
-class Object
-end
+import kernel
class A
class A
- fun toto do end
+ fun toto do 1.output
end
class B
super A
end
class B
super A
- redef fun toto do end
+ redef fun toto do 2.output
end
class C
super A
end
class C
super A
- redef fun toto do end
+ redef fun toto do 3.output
end
class D
super B
super C
end
end
class D
super B
super C
end
+
+(new A).toto
+(new B).toto
+(new C).toto
+#alt1#(new D).toto