On Fri, Aug 24, 2018 at 07:32:52PM +1200, Evan Hanson wrote:
> On 2018-08-24  9:27, Peter Bex wrote:
> > I'd prefer to add the current module to struct type declarations, instead.
> > This should be equally simple; I think we can add this to validate-type's
> > handling of struct: if the struct is not qualified, add the current
> > module (if any).
> 
> That approach has the problem megane described on the ticket. When it's
> used, we don't have enough info to disambiguate one struct type from
> another, unless you expect users to include a module prefix manually in
> all cases. I think that's too big a change for 5.0.

OK, I see what you're saying.  I think you're right; this is the correct
approach in the meantime and should be (mostly) backwards-compatible once
we figure out a good way to import and rename/prefix types from modules.

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to