[m-rev.] for review: some more rtti for java
Peter Wang
novalazy at gmail.com
Wed Jan 20 17:45:35 AEDT 2010
On 2010-01-20, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
> >
> >compiler/mlds_to_java.m:
> >compiler/builtin_lib_types.m:
> > Map *_desc types to TypeInfo_Struct, TypeCtorInfo_Struct,
> > PseudoTypeInfo_Struct. We cannot simply use
> > `:- pragma foreign_type("Java", ...)' in the library as the compiler
> > will complain about missing type definitions for other language
> > backends.
>
> Can't you just provide a dummy Mercury type definition fo rhte non-Java
> backends?
No, that causes other problems. I don't remember the exact details as I
started this patch a few months ago.
Peter
--------------------------------------------------------------------------
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