aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux')
-rw-r--r--stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux8
1 files changed, 1 insertions, 7 deletions
diff --git a/stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux b/stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux
index a20110788..1768bdd07 100644
--- a/stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux
+++ b/stdlib/source/library/lux/meta/compiler/language/lux/phase/extension/declaration/lux.lux
@@ -74,12 +74,6 @@
{try.#Failure error}
(phase.failure error))))
-(def (context [@module @artifact])
- (-> unit.ID
- unit.ID)
- ... TODO: Find a better way that doesn't rely on clever tricks.
- [@module (n.- (++ @artifact) 0)])
-
... TODO: Inline "evaluate!'" into "evaluate!" ASAP
(def (evaluate!' archive translation code//type codeS)
(All (_ anchor expression declaration)
@@ -94,7 +88,7 @@
id /////translation.next
codeG (translation archive codeS)
@module (/////translation.module_id module archive)
- codeV (/////translation.evaluate! (..context [@module id]) [{.#None} codeG])]
+ codeV (/////translation.evaluate! [{.#None} codeG])]
(in [code//type codeG codeV]))))
(def .public (evaluate! archive type codeC)