[m-rev.] trivial diff: fix compilation error with inter-module optimization

Simon Taylor stayl at cs.mu.OZ.AU
Fri Aug 9 18:33:10 AEST 2002


Estimated hours taken: 0.1
Branches: main

compiler/make.progran_target.m
	Module qualify a call to fix a compilation error with
	`--intermodule-optimization' (unresolved ambiguity between
	list__map and set__map).
	
Index: make.program_target.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/make.program_target.m,v
retrieving revision 1.9
diff -u -u -r1.9 make.program_target.m
--- make.program_target.m	8 Aug 2002 06:25:44 -0000	1.9
+++ make.program_target.m	9 Aug 2002 07:23:48 -0000
@@ -736,8 +736,8 @@
 			io__nl
 		)),
 	globals__io_lookup_string_option(install_command, InstallCommand),
-	{ Command = string__join_list("	",
-		map(quote_arg, [InstallCommand, FileName, InstallDir])) },
+	{ Command = string__join_list("	", list__map(quote_arg,
+			[InstallCommand, FileName, InstallDir])) },
 	io__output_stream(OutputStream),
 	invoke_shell_command(OutputStream, verbose, Command, Succeeded).
 
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list