Oz and Mozart Hackers Mailing List

'#'(X,Y)=Z


From: Luis Quesada (luque@info.ucl.ac.be)
Date: Wed Jan 16 2002 - 13:24:23 CET


Hi Everybody:

May I suggest another message for the following error?

Consider this erroneous piece of code:

declare
class A
   meth foo(X Y Z)
      '#'(X,Y)=Z
   end
end

I think that the error showed does not help too much:

%************************* expansion error **********************
%**
%** message of nested object application must contain exactly one nesting marker
%**
%** in file "/usr/staff/luque/Oz/demo_planning/FD/tmp.oz", line 4, column 11
%** ------------------ rejected (1 error)

My question is: can X,Y play the role of an expression? If not, why not
simply say that there is a statement in place of an expression?

Luis

--
Catholic University of Louvain
Department of Computing Science and Engineering
Place Sainte Barbe, 2
B-1348 Louvain-la-Neuve, Belgium
Phone:  (++32) (10) 47 90 13
Fax:    (++32) (10) 45 03 45
Web:    http://www.info.ucl.ac.be/~luque

- Please send submissions to hackers@mozart-oz.org and administriva mail to hackers-request@mozart-oz.org. The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.