DMD as a library package can now run through all semantic phases

Seb seb at wilzba.ch
Sat Jan 27 01:09:23 UTC 2018


On Saturday, 27 January 2018 at 00:47:01 UTC, timotheecour wrote:
> on OSX:
> chmod u+x main.d
> ./main.d
>
> WARNING: A deprecated branch based version specification is 
> used for the dependency dmd. Please use numbered versions 
> instead. Also note that you can still use the 
> dub.selections.json file to override a certain dependency to 
> use a branch instead.

That's expected, but well DMD doesn't use semantic versioning 
yet, so ~master is the only valid version out there.

> Invalid source/import path: 
> /Users/timothee/.dub/packages/dmd-master/dmd/generated/dub
> core.exception.AssertError at ../../../../../.dub/packages/dmd-master/dmd/src/dmd/frontend.d(208): No valid config found.

That's not expected (and before OSX went crazy on Travis there 
where tests for this).

What's your default compiler? How did you install it?

If it's dmd, then DMD's default detection is called: 
https://github.com/dlang/dmd/blob/master/src/dmd/frontend.d#L82


More information about the Digitalmars-d mailing list