#2622 Depend ctor

SlimerDude Thu 27 Jul

Just to say it'd be handy if Depend had a convenience ctor of:

new make(Str name, Version version)

or even:

new make(Str name, Version v1, Version? v2 := null, Version? v3 := null)

if you wanted to support multiple versions.

More often than not, when I want to create a Depend I already have the name and version objects. It's then a pain (and waste of processing) to create a string just to pass to Depend.fromStr().

Login or Signup to reply.