[m-rev.] diff: clean up library and compiler imports
Julien Fischer
juliensf at csse.unimelb.edu.au
Thu Sep 28 02:40:59 AEST 2006
On Thu, 28 Sep 2006, Julien Fischer wrote:
>
> On Wed, 27 Sep 2006, Peter Ross wrote:
>
>> On Wed, Sep 27, 2006 at 04:30:58PM +1000, Julien Fischer wrote:
>>>
>>> On Wed, 27 Sep 2006, Peter Ross wrote:
>>>
>>>> Hi,
>>>>
>>>> I've been slowly fixing some of the --warn-unused-imports errors.
>>>> Rather than waiting until all have been done. I thought I would
>>>> check-in what I've done.
>>>
>>> This diff will break the Java and IL backends since
>>> your analysis doesn't check Mercury clauses if there are foreign clauses,
>>> e.g. some of the :- use_module rtti_implementation decls shouldn't
>>> have been deleted (the ones in construct and deconstruct).
>>>
>> Do you know where these clauses are deleted from the HLDS? I will have
>> to fix my analysis.
>
> From memory I think they are deleted fairly early on
>From looking at the source code they are deleted by the predicate
clauses_info_add_clause in add_clause.m.
Julien.
--------------------------------------------------------------------------
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