[m-rev.] diff: fix release branch test failure
Simon Taylor
stayl at cs.mu.OZ.AU
Wed Feb 19 14:55:51 AEDT 2003
Estimated hours taken: 0.1
Branches: release
tests/invalid/make_opt_error.{m,err_exp}:
The error in the old `.err_exp' file was only reported
on the main branch, so use a different error on the
release branch.
Index: make_opt_error.err_exp
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/make_opt_error.err_exp,v
retrieving revision 1.1.2.1
diff -u -u -r1.1.2.1 make_opt_error.err_exp
--- make_opt_error.err_exp 17 Feb 2003 06:04:29 -0000 1.1.2.1
+++ make_opt_error.err_exp 19 Feb 2003 03:53:52 -0000
@@ -1,5 +1,3 @@
-make_opt_error.m:101: Error: clause for automatically generated field access
-make_opt_error.m:101: function `make_opt_error.x/1'.
-make_opt_error.m:102: Error: clause for automatically generated field access
-make_opt_error.m:102: function `make_opt_error.y/1'.
+make_opt_error.m:035: Error: pragma foreign_type `make_opt_error:coord/0' must
+make_opt_error.m:035: have the same visibility as the type declaration.
For more information, try recompiling with `-E'.
Index: make_opt_error.m
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/make_opt_error.m,v
retrieving revision 1.1.2.1
diff -u -u -r1.1.2.1 make_opt_error.m
--- make_opt_error.m 17 Feb 2003 06:04:29 -0000 1.1.2.1
+++ make_opt_error.m 19 Feb 2003 03:53:50 -0000
@@ -29,9 +29,13 @@
%----------------------------------------------------------------------------%
%----------------------------------------------------------------------------%
+:- interface.
+
% IL implementation
:- pragma foreign_type(il, coord,
"class [foreign_type__csharp_code]coord").
+
+:- implementation.
:- pragma foreign_decl("C#", "
public class coord {
--------------------------------------------------------------------------
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