Subject: [sv-bc] RE: [sv-ec] LRM-193 through LRM-195
From: Warmke, Doug (doug_warmke@mentorg.com)
Date: Fri Jan 30 2004 - 10:21:38 PST
If module bot is in a separate compilation unit, and no import p::*
was in effect inside that compilation unit, then f() would resolve
to top.f(). No chance to even detect the f() in package p.
> -----Original Message-----
> From: Steven Sharp [mailto:sharp@cadence.com]
> Sent: Friday, January 30, 2004 10:10 AM
> To: dwsmith@synopsys.com; sv-bc@eda.org; sv-ec@eda.org; Warmke, Doug
> Subject: RE: [sv-ec] LRM-193 through LRM-195
>
>
>
> >In the absence of top.f(), f() would be imported from package p,
> >since it is used in scope bot, and the import p::*; statement is
> >in effect for the rest of the compilation unit (including
> module bot).
>
> And what if module bot is in a separate compilation unit?
>
> Steven Sharp
> sharp@cadence.com
>
This archive was generated by hypermail 2b28 : Fri Jan 30 2004 - 10:34:34 PST