You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See test/src/e2e_vm_tests/test_programs/should_fail/language/import_star_name_clash/.
In the line the type of the argument is wrong:
let my_enum_function_wrong_type = project_my_enum_b(my_enum_a_variant_legal); // Error - wrong MyEnum
The type of my_enum_a_variant_legal is a::MyEnum, but the argument type of project_my_enum_b is b::MyEnum. The error is caugt correctly with the following error message:
Mismatched types.
expected: MyEnum
found: MyEnum.
This is clearly unhelpful. The found and expected types should report a full callpath to their respecitve declaration of MyEnum.
The text was updated successfully, but these errors were encountered:
See
test/src/e2e_vm_tests/test_programs/should_fail/language/import_star_name_clash/
.In the line the type of the argument is wrong:
The type of
my_enum_a_variant_legal
isa::MyEnum
, but the argument type ofproject_my_enum_b
isb::MyEnum
. The error is caugt correctly with the following error message:This is clearly unhelpful. The found and expected types should report a full callpath to their respecitve declaration of
MyEnum
.The text was updated successfully, but these errors were encountered: