From a4847190df926d35f7ece97da50a2a8b1462a24f Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 28 Jul 2022 02:44:45 -0400 Subject: Now statically resolving values from globals in pattern-matching. --- stdlib/source/program/aedifex.lux | 2 +- stdlib/source/program/aedifex/command/build.lux | 2 +- stdlib/source/program/aedifex/repository/remote.lux | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'stdlib/source/program') diff --git a/stdlib/source/program/aedifex.lux b/stdlib/source/program/aedifex.lux index f94f56037..6300dc4fc 100644 --- a/stdlib/source/program/aedifex.lux +++ b/stdlib/source/program/aedifex.lux @@ -85,7 +85,7 @@ profile) [exit_code output] ((command console environment (file.async file.default) (shell.async shell.default) resolution) profile) _ (case exit_code - (static shell.normal) + shell.normal (in []) _ diff --git a/stdlib/source/program/aedifex/command/build.lux b/stdlib/source/program/aedifex/command/build.lux index 190ec3802..503fd5f1c 100644 --- a/stdlib/source/program/aedifex/command/build.lux +++ b/stdlib/source/program/aedifex/command/build.lux @@ -104,7 +104,7 @@ {.#Some dependency} (case lux_name (^.with_template [ ] - [(static ) + [ {try.#Success [(..remove_dependency dependency resolution) { dependency}]}]) ([#JVM ..jvm_lux_name] diff --git a/stdlib/source/program/aedifex/repository/remote.lux b/stdlib/source/program/aedifex/repository/remote.lux index b5b201093..10b7f372d 100644 --- a/stdlib/source/program/aedifex/repository/remote.lux +++ b/stdlib/source/program/aedifex/repository/remote.lux @@ -68,7 +68,7 @@ {.#None} http))] (case status - (static http/status.ok) + http/status.ok (at ! each product.right ((the @http.#body message) {.#None})) _ @@ -91,7 +91,7 @@ http)) _ ((the @http.#body message) {.#Some 0})] (case status - (static http/status.created) + http/status.created (in []) _ -- cgit v1.2.3