X-Git-Url: http://nitlanguage.org diff --git a/tests/error_prop_loc.nit b/tests/error_prop_loc.nit index 3aceac3..4872f08 100644 --- 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. -import end -class Object -end +import kernel class A - fun toto do end + fun toto do 1.output end class B -special A - redef fun toto do end + super A + redef fun toto do 2.output end class C -special A - redef fun toto do end + super A + redef fun toto do 3.output end class D -special B -special C + super B + super C end + +(new A).toto +(new B).toto +(new C).toto +#alt1#(new D).toto