[m-dev.] for review: transitive optimization and `:- pragma type_spec'
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Oct 14 14:55:58 AEST 1999
On 14-Oct-1999, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
>
> compiler/trans_opt.m:
> Don't write `:- pragma termination_info' declarations for
> procedures created for `:- pragma type_spec' declarations.
> These should be allowed, but the predicate declaration for
> the specialized predicate is not produced before the
> termination pragmas are read in, resulting in an undefined
> predicate error.
That looks fine, at least as an interim solution.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list