nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mksrc: remove --stacktrace
[nit.git]
/
tests
/
error_prop_loc.nit
diff --git
a/tests/error_prop_loc.nit
b/tests/error_prop_loc.nit
index
3aceac3
..
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
end
class B
-special A
- redef fun toto do end
+ super A
+ redef fun toto do 2.output
end
class C
end
class C
-special A
- redef fun toto do end
+ super A
+ redef fun toto do 3.output
end
class D
end
class D
-special B
-special C
+ super B
+ super C
end
end
+
+(new A).toto
+(new B).toto
+(new C).toto
+#alt1#(new D).toto