[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Drop module namespace from struct type in
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Drop module namespace from struct type in `##sys#make-structure' specialisation |
Date: |
Fri, 24 Aug 2018 09:27:05 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Aug 24, 2018 at 09:01:18AM +1200, Evan Hanson wrote:
> Hello hackers,
>
> Here's a fix for #1513. This does the simple thing and just avoids
> including module namespaces in `struct' type tags.
>
> After 5.0 we can revisit this behaviour and maybe make the compiler a
> bit smarter regarding types inside modules, but for right now let's keep
> the changes small.
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).
Cheers,
Peter
signature.asc
Description: PGP signature