bud problems

Bill Baxter wbaxter at gmail.com
Thu Nov 9 05:00:52 PST 2006


Derek Parnell wrote:
> On Thu, 09 Nov 2006 12:15:01 +0900, Bill Baxter wrote:
> 
> 
>>Is bud a-ok with = and :'s in imports?
>>
>>    import submodule = mypackage.submodule.detail;
>>    import std.stdio : writefln;
>>
>>And also note that I'm renaming submodule.detail to just submodule. 
>>Could that be confusing bud?
> 
> 
> Yes, these forms are okay to use. In the first form, the module's real name
> is the stuff after the '=', and in the second is the stuff before the ':'.
> Bud doesn't need to know how you use the module name in your code, just
> that you are importing it.

One more thing:

I've got two files called "base.d".  One at the root level, one in a 
subdirectory.  Could that cause problems?

--bb



More information about the Digitalmars-d-learn mailing list