From f676821a2e49fc69d51b57331daf9cb4dbe9013f Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 2 May 2016 15:58:20 -0400 Subject: [PATCH] tests: update sav because new error messages on class name error Signed-off-by: Jean Privat --- tests/sav/error_names.res | 12 ++++++------ tests/sav/error_redef_class.res | 2 +- tests/sav/error_type_not_ok5.res | 2 +- tests/sav/error_type_unk_alt2.res | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/sav/error_names.res b/tests/sav/error_names.res index 5cc3609..22991dc 100644 --- a/tests/sav/error_names.res +++ b/tests/sav/error_names.res @@ -1,6 +1,6 @@ -error_names.nit:23,9--10: Error: class `A1` not found in module `error_names`. Did you mean `names::A1` or `names1::A1`? -error_names.nit:25,9--21: Error: class `A1` not found in module `error_names`. Did you mean `names::A1` or `names1::A1`? -error_names.nit:27,9--21: Error: class `A1` not found in module `error_names`. Did you mean `names::A1` or `names1::A1`? -error_names.nit:31,9--10: Error: class `P1` not found in module `error_names`. Did you mean `names::n1::P1` or `names1::names1::P1`? -error_names.nit:33,9--21: Error: class `P1` not found in module `error_names`. Did you mean `names::n1::P1` or `names1::names1::P1`? -error_names.nit:35,9--21: Error: class `P1` not found in module `error_names`. Did you mean `names::n1::P1` or `names1::names1::P1`? +error_names.nit:23,9--10: Error: ambiguous class name `A1` in module `error_names`. Conflicts are between `names::A1` and `names1::A1`. +error_names.nit:25,9--21: Error: class `names::n0::A1` not found in module `error_names`. Did you mean `names::A1` or `names1::A1`? +error_names.nit:27,9--21: Error: class `names::n2::A1` not found in module `error_names`. Did you mean `names::A1` or `names1::A1`? +error_names.nit:31,9--10: Error: ambiguous class name `P1` in module `error_names`. Conflicts are between `names::n1::P1` and `names1::names1::P1`. +error_names.nit:33,9--21: Error: class `names::n0::P1` not found in module `error_names`. Did you mean `names::n1::P1` or `names1::names1::P1`? +error_names.nit:35,9--21: Error: class `names::n2::P1` not found in module `error_names`. Did you mean `names::n1::P1` or `names1::names1::P1`? diff --git a/tests/sav/error_redef_class.res b/tests/sav/error_redef_class.res index fdd119e..4ea4483 100644 --- a/tests/sav/error_redef_class.res +++ b/tests/sav/error_redef_class.res @@ -1 +1 @@ -error_redef_class.nit:17,13--16: Redef Error: no imported class `Fail` to refine. +error_redef_class.nit:17,13--16: Error: class `Fail` not found in module `error_redef_class`. diff --git a/tests/sav/error_type_not_ok5.res b/tests/sav/error_type_not_ok5.res index 9794efd..82da2a7 100644 --- a/tests/sav/error_type_not_ok5.res +++ b/tests/sav/error_type_not_ok5.res @@ -1,5 +1,5 @@ error_type_not_ok5.nit:23,8--11: Error: class `Fail` not found in module `error_type_not_ok5`. -error_type_not_ok5.nit:25,9--21: Error: class `Fail` not found in module `error_type_not_ok5`. +error_type_not_ok5.nit:25,18--21: Error: class `Fail` not found in module `error_type_not_ok5`. error_type_not_ok5.nit:28,14--17: Error: class `Fail` not found in module `error_type_not_ok5`. error_type_not_ok5.nit:28,7--17: Type Error: expected `Char`, got `Bool`. error_type_not_ok5.nit:29,11--14: Error: class `Fail` not found in module `error_type_not_ok5`. diff --git a/tests/sav/error_type_unk_alt2.res b/tests/sav/error_type_unk_alt2.res index ab9e44c..c9d481f 100644 --- a/tests/sav/error_type_unk_alt2.res +++ b/tests/sav/error_type_unk_alt2.res @@ -1,2 +1,2 @@ alt/error_type_unk_alt2.nit:9,8--11: Error: class `Fail` not found in module `error_type_unk_alt2`. -alt/error_type_unk_alt2.nit:11,8--14: Error: class `Fail` not found in module `error_type_unk_alt2`. +alt/error_type_unk_alt2.nit:11,8--11: Error: class `Fail` not found in module `error_type_unk_alt2`. -- 1.7.9.5