Re: [sv-bc] Re: Package export proposal

From: Gordon Vreugdenhil <gordonv_at_.....>
Date: Fri Sep 15 2006 - 10:44:22 PDT
Greg Jaxon wrote:

> Gordon Vreugdenhil wrote:
> 
>> The problem is that one might want to distinguish:
>>
>>   import p1::*;
>>   import p2::x;
>>
>>   export p2::*;
>>
>> If the "export p2::*" has import semantics, then you can
>> have collisions with p1 that would otherwise be avoided.
>>
>> Yes, you could explicitly export just the names you wanted
>> but there have already been complaints about redundancy.
> 
> 
> So:
>    import p1::*;
>    export p2::x;
> 
> Nothing is redundant, no confusion arises.
> The second line accomplishes both the import and the export.


And, I've I said, I wouldn't object to that even though I
don't like the assymetry with the wildcard form.


I'd appreciate it if others would speak to this question so
that we can see if there is consensus prior to the next
BC meeting so that I can update the proposal if needed.

Gord.

-- 
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com
Received on Fri Sep 15 10:44:25 2006

This archive was generated by hypermail 2.1.8 : Fri Sep 15 2006 - 10:44:36 PDT