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