Files
mercury/tests/invalid/bind_var_errors.err_exp
Ralph Becket a8ffd3680c Change the compiler and tools so that .' and not :' is now used as the
Estimated hours taken: 14
Branches: main

Change the compiler and tools so that `.' and not `:' is now used as the
module separator in all output.

Infix `.' now has associativity yfx and priority 10.

NEWS:
	Report the change.

configure.in:
	Amend the test for an up-to-date Mercury compiler to check whether
	it recognises `.' as a module qualifier.

compiler/code_gen.m:
compiler/error_util.m:
compiler/hlds_out.m:
compiler/prog_out.m:
compiler/prog_util.m:
compiler/rl_exprn.m:
compiler/rl_gen.m:
compiler/source_file_map.m:
compiler/unused_args.m:
library/io.m:
library/rtti_implementation.m:
library/type_desc.m:
runtime/mercury_debug.c:
runtime/mercury_deconstruct.c:
runtime/mercury_stack_trace.c:
	Change `:' to `.' as module separator for output.

compiler/mercury_to_mercury.m:
compiler/prog_io_typeclass.m:
	As above.
	Fixed a bug where `.' was not being recognised as a module separator.

doc/reference_manual.texi:
	Report the change.

library/term_io.m:
	Ensure that infix `.' is written without surrounding spaces.

tests/hard_coded/dot_separator.m:
tests/hard_coded/dot_separator.exp:
tests/hard_coded/Mmakefile:
	Test case added.
2003-01-17 05:57:20 +00:00

24 lines
1.6 KiB
Plaintext

bind_var_errors.m:033: In clause for `bind_var_in_negation':
bind_var_errors.m:033: scope error: attempt to bind a variable inside a negation.
bind_var_errors.m:033: Variable `X' has instantiatedness `free',
bind_var_errors.m:033: expected instantiatedness was `unique(42)'.
bind_var_errors.m:039: In clause for `bind_var_in_ite_cond(in)':
bind_var_errors.m:039: scope error: attempt to bind a non-local variable
bind_var_errors.m:039: inside the condition of an if-then-else.
bind_var_errors.m:039: Variable `Y' has instantiatedness `free',
bind_var_errors.m:039: expected instantiatedness was `unique(42)'.
bind_var_errors.m:048: In clause for `bind_var_in_lambda':
bind_var_errors.m:048: in argument 1 (i.e. the predicate term) of higher-order predicate call:
bind_var_errors.m:048: mode error: variable `Y' has instantiatedness `free',
bind_var_errors.m:048: expected instantiatedness for non-local variables
bind_var_errors.m:048: of lambda goals is `ground'.
bind_var_errors.m:053: In clause for `share_var_in_lambda(di)':
bind_var_errors.m:053: in argument 1 of call to predicate `bind_var_errors.destroy/1':
bind_var_errors.m:053: mode error: variable `X' has instantiatedness `ground',
bind_var_errors.m:053: expected instantiatedness was `unique'.
bind_var_errors.m:060: In clause for `clobber_var_in_lambda(di)':
bind_var_errors.m:060: in argument 1 of call to predicate `bind_var_errors.destroy/1':
bind_var_errors.m:060: unique-mode error: the called procedure would clobber
bind_var_errors.m:060: its argument, but variable `X' is still live.
For more information, try recompiling with `-E'.