[m-rev.] diff: fix typo in erlang_rtti_implementation.m
Peter Wang
novalazy at gmail.com
Tue Sep 18 16:47:07 AEST 2007
Estimated hours taken: 0.5
Branches: main
library/erlang_rtti_implementation.m:
Fix a typo. compare_sub_typeinfos should call itself recursively,
not call compare_var_arity_typeinfos.
Index: library/erlang_rtti_implementation.m
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/erlang_rtti_implementation.m,v
retrieving revision 1.21
diff -u -r1.21 erlang_rtti_implementation.m
--- library/erlang_rtti_implementation.m 7 Sep 2007 05:08:16 -0000 1.21
+++ library/erlang_rtti_implementation.m 18 Sep 2007 06:32:18 -0000
@@ -425,7 +425,7 @@
compare_type_infos(SubResult, SubTypeInfoA, SubTypeInfoB),
( SubResult = (=) ->
- compare_var_arity_typeinfos(Loc + 1, Arity, Result,
+ compare_sub_typeinfos(Loc + 1, Arity, Result,
TypeInfoA, TypeInfoB)
;
Result = SubResult
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list