diff --git a/source/dub/package_.d b/source/dub/package_.d index 1f3c15b..3f70a75 100644 --- a/source/dub/package_.d +++ b/source/dub/package_.d @@ -91,7 +91,7 @@ if(m_infoFile.empty) throw new Exception( "No package file found in %s, expected one of %s" - .format(root.toNativeString(), packageInfoFiles.map!(f => f.filename).join("/"))); + .format(root.toNativeString(), packageInfoFiles.map!(f => cast(string)f.filename).join("/"))); } raw_package = rawPackageFromFile(m_infoFile); } catch (Exception ex) throw ex;//throw new Exception(format("Failed to load package %s: %s", m_infoFile.toNativeString(), ex.msg));