diff options
Diffstat (limited to 'stdlib/source/program/aedifex/dependency')
-rw-r--r-- | stdlib/source/program/aedifex/dependency/resolution.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/program/aedifex/dependency/resolution.lux b/stdlib/source/program/aedifex/dependency/resolution.lux index 81eb16502..571d2d966 100644 --- a/stdlib/source/program/aedifex/dependency/resolution.lux +++ b/stdlib/source/program/aedifex/dependency/resolution.lux @@ -10,7 +10,7 @@ [control ["[0]" maybe] ["[0]" try (.only Try) (.use "[1]#[0]" functor)] - ["[0]" exception (.only Exception exception)] + ["[0]" exception (.only Exception)] [function ["[0]" predicate (.only Predicate)]] [concurrency @@ -60,9 +60,8 @@ ["[1]/[0]" snapshot]]]]) (with_template [<name>] - [(exception .public (<name> [artifact Artifact - extension Extension - hash Text]) + [(exception.def .public (<name> [artifact extension hash]) + (Exception [Artifact Extension Text]) (exception.report (list ["Artifact" (///artifact.format artifact)] ["Extension" (%.text extension)] @@ -156,7 +155,8 @@ (Equivalence Resolution) (dictionary.equivalence ///package.equivalence)) -(exception .public (cannot_resolve [dependency Dependency]) +(exception.def .public (cannot_resolve dependency) + (Exception Dependency) (exception.report (list ["Artifact" (%.text (///artifact.format (the //.#artifact dependency)))] ["Type" (%.text (the //.#type dependency))]))) |