[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Print more information about why an identi
From: |
megane |
Subject: |
Re: [Chicken-hackers] [PATCH] Print more information about why an identifier cannot be exported |
Date: |
Mon, 21 Oct 2019 08:03:14 +0300 |
User-agent: |
mu4e 1.0; emacs 25.1.1 |
Evan Hanson <address@hidden> writes:
> On 2019-10-19 10:23, megane wrote:
>> This doesn't say why the abbreviation cannot be exported. As a beginner
>> I'm left wondering that maybe there's some strange reason, but the
>> compiler is not telling it to me.
>
> Good point, thanks for the better suggestions.
>
>> - Warning: Cannot export `a-type-alias' because it is a type
>> abbreviation.
>>
>> I'd vote for this, because of its shortness. The warning is actually
>> fatal, and the compilation will stop shortly with a message that
>> includes the module name.
>
> Yeah, I've gone with this one. "Because it refers to a foo" is probably
> more correct, but I don't think the extra pedantry will help people fix
> their programs, which is the whole point of these messages...
>
> Anyway, pushed, thank you megane!
Thanks for making the changes. It's better now.
>
> Evan
>
> _______________________________________________
> Chicken-hackers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-hackers