diff --git a/source/dub/project.d b/source/dub/project.d index 513e592..4e8de7f 100644 --- a/source/dub/project.d +++ b/source/dub/project.d @@ -567,7 +567,7 @@ this.type = id; this.packageId = pkg; this.location = location; - this.vers = new immutable(Dependency)(d); + this.vers = cast(immutable)new Dependency(d); this.issuer = issue; } @@ -576,7 +576,7 @@ pack = pkg; type = id; packageId = pkg.name; - vers = new immutable(Dependency)(pkg.ver); + vers = cast(immutable)new Dependency(pkg.ver); issuer = issue; }