mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-16 22:35:41 +00:00
Estimated hours taken: 1.5 Branches: main Fix a problem with the new initialise declarations and sub-modules. compiler/modules.m: Don't write `:- initialise' declarations to private interfaces. The compiler cannot read them back in and in any case child modules don't need to know about them. tests/hard_coded/sub-modules/Mmakefile: tests/hard_coded/sub-modules/initialise_parent.m: tests/hard_coded/sub-modules/initialise_child.m: tests/hard_coded/sub-modules/initialise_parent.exp: tests/hard_coded/sub-modules/initialise_parent.exp2: Test case for the above. (There are two expected outputs because the ordering of calls to module initialisers between a parent and its children is arbitrary.) vim/syntax/mercury.vim: Highlight initialise declarations appropriately.