[m-users.] Strange compile error

Volker Wysk post at volker-wysk.de
Tue Feb 8 20:00:43 AEDT 2022


Hi

I'm getting error messages like this, when compiling:

actions.m:101: In clause for predicate `do_convert'/3:
actions.m:101:   in argument 1 of call to predicate `serialiser.page1'/4:
actions.m:101:   type error in unification of variable `V_15'
actions.m:101:   and variable `Page'.
actions.m:101:   `V_15' has type
actions.m:101:   `list.list(parser.paragraph(parser.target(pages.tikipage)))
',
actions.m:101:   `Page' has type
actions.m:101:   `list.list(parser.paragraph(parser.target(tikipage)))'.

The type parameter "tikipage" in the second part of the error message is
*not* qualified with the module name (which is "pages"). What does this
mean?

Bye,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20220208/a3d1fe72/attachment.sig>


More information about the users mailing list