New __traits

BLM768 via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 25 14:33:20 PST 2015


On Wednesday, 25 November 2015 at 15:39:17 UTC, Daniel Murphy 
wrote:
> What you're seeing is just an artifact of how dmd's internals 
> work. 'std' is an 'import' (call Dsymbol.kind() for the 
> category of symbol) and you'll have to resolve it to work out 
> which module/package is being imported.  It's possible that 
> this is a bug in the symbol resolution, and that it should have 
> already been resolved to a package.

It seems that I can resolve the import by using "theImport.pkg", 
but I'm not sure if it's the "correct" way. It works in my tests, 
though. Is that the right way to do it, or is there a better 
method?




More information about the Digitalmars-d mailing list