[m-rev.] For review: Fix a type error in a Java RTTI class
James Goddard
goddardjames at yahoo.com
Tue Feb 24 18:24:54 AEDT 2004
Estimated hours taken: 0.2
Branches: main
Fix a type error in a Java RTTI class.
java/runtime/DuFunctorDesc.java:
Changed representation of `du_functor_exist_info' from `DuExistInfo[]'
to `DuExistInfo' (single), in keeping with the conventions elsewhere.
Index: DuFunctorDesc.java
===================================================================
RCS file: /home/mercury1/repository/mercury/java/runtime/DuFunctorDesc.java,v
retrieving revision 1.2
diff -u -d -r1.2 DuFunctorDesc.java
--- DuFunctorDesc.java 1 Dec 2003 06:55:51 -0000 1.2
+++ DuFunctorDesc.java 23 Feb 2004 05:54:38 -0000
@@ -19,7 +19,7 @@
// yet, so this may not be correct.
public /*final*/ mercury.runtime.PseudoTypeInfo[] du_functor_arg_types;
public /*final*/ java.lang.String[] du_functor_arg_names;
- public /*final*/ mercury.runtime.DuExistInfo[] du_functor_exist_info;
+ public /*final*/ mercury.runtime.DuExistInfo du_functor_exist_info;
public DuFunctorDesc(java.lang.String functor_name, int orig_arity,
int arg_type_contains_var, int sectag_locn, int primary,
@@ -42,6 +42,6 @@
arg_types;
du_functor_arg_names = (java.lang.String []) arg_names;
du_functor_exist_info =
- (mercury.runtime.DuExistInfo[]) exist_info;
+ (mercury.runtime.DuExistInfo) exist_info;
}
}
--------------------------------------------------------------------------
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