'#'(X,Y)=Z
Luis Quesada
luque at info.ucl.ac.be
Wed Jan 16 13:24:23 CET 2002
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 at mozart-oz.org
and administriva mail to hackers-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
More information about the mozart-hackers
mailing list