@@ -33,7 +33,7 @@ data PackageError
3333 deriving (Show)
3434
3535data PackageWarning
36− = ResolutionNotVersion PackageName
36+ = NoResolvedVersion PackageName
3737 | UndeclaredDependency PackageName
3838 | UnacceptableVersion (PackageName, String)
3939 deriving (Show)
@@ -253,7 +253,7 @@ displayOtherError e = case e of
253253 [ "An IO exception occurred:", show exc ]
254254
255255data CollectedWarnings = CollectedWarnings
256− { resolutionNotVersions :: [PackageName]
256+ { noResolvedVersions :: [PackageName]
257257 , undeclaredDependencies :: [PackageName]
258258 , unacceptableVersions :: [(PackageName, String)]
259259 }
@@ -268,7 +268,7 @@ collectWarnings :: [PackageWarning] -> CollectedWarnings
268268collectWarnings = foldMap singular
269269 where
270270 singular w = case w of
271− ResolutionNotVersion pn -> CollectedWarnings [pn] [] []
271+ NoResolvedVersion pn -> CollectedWarnings [pn] [] []
272272 UndeclaredDependency pn -> CollectedWarnings [] [pn] []
273273 UnacceptableVersion t -> CollectedWarnings [] [] [t]
274274
@@ -276,7 +276,7 @@ renderWarnings :: [PackageWarning] -> Box
276276renderWarnings warns =
277277 let CollectedWarnings{..} = collectWarnings warns
278278 go toBox warns' = toBox <$> NonEmpty.nonEmpty warns'
279− mboxes = [ go warnResolutionNotVersions resolutionNotVersions
279+ mboxes = [ go warnNoResolvedVersions noResolvedVersions
280280 , go warnUndeclaredDependencies undeclaredDependencies
281281 , go warnUnacceptableVersions unacceptableVersions
282282 ]
@@ -286,18 +286,18 @@ renderWarnings warns =
286286 , indented (vcat (intersperse spacer boxes))
287287 ]
288288
289−warnResolutionNotVersions :: NonEmpty PackageName -> Box
290−warnResolutionNotVersions pkgNames =
289+warnNoResolvedVersions :: NonEmpty PackageName -> Box
290+warnNoResolvedVersions pkgNames =
291291 let singular = NonEmpty.length pkgNames == 1
292292 pl a b = if singular then b else a
293293
294294 packages = pl "packages" "package"
295− were = pl "were" "was"
296295 anyOfThese = pl "any of these" "this"
297296 these = pl "these" "this"
298297 in vcat $
299298 [ para (concat
300− ["The following ", packages, " ", were, " not resolved to a version:"])
299+ ["The following ", packages, " did not appear to have a resolved "
300+ , "version:"])
301301 ] ++
302302 bulletedList runPackageName (NonEmpty.toList pkgNames)
303303 ++