Best error msg ever

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 10 12:22:49 PST 2017


Am 09.02.2017 um 22:44 schrieb Daniel Kozak via Digitalmars-d:
> Dne 9.2.2017 v 22:28 Sönke Ludwig via Digitalmars-d napsal(a):
>
>> Am 09.02.2017 um 22:20 schrieb Daniel Kozak:
>>> source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile
>>> (Path file, bool silent_fail = false) is not callable using argument
>>> types (Path, bool)
>>>
>>> WTF?
>>
>> Must be caused by Path meaning two different type definitions. The
>> most likely cause is that by default the DUB sources use their own
>> version of Path, while if vibe.d is available in the dependency graph,
>> they will use the ones defined there instead.
>>
>> But the error message is indeed awful.
> Yes, btw it is impossible to build https://github.com/dlang/dub-registry
> right now because of this

Thanks for the notice, I've committed a fix for DUB 1.2.1


More information about the Digitalmars-d mailing list