From d5c14e64940a7f6d0e2bb207f12f21fc7b95656d Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 31 May 2021 13:02:33 -0400 Subject: "lux io current-time" is no longer an extension. --- .../source/luxc/lang/translation/jvm/extension/common.lux | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'lux-jvm/source/luxc') diff --git a/lux-jvm/source/luxc/lang/translation/jvm/extension/common.lux b/lux-jvm/source/luxc/lang/translation/jvm/extension/common.lux index 39934dbb8..c9eed9489 100644 --- a/lux-jvm/source/luxc/lang/translation/jvm/extension/common.lux +++ b/lux-jvm/source/luxc/lang/translation/jvm/extension/common.lux @@ -304,17 +304,6 @@ (_.INVOKESPECIAL $Error "" string_method) _.ATHROW))) -(def: (io::exit codeI) - (Unary Inst) - (|>> codeI jvm_intI - (_.INVOKESTATIC $System "exit" (type.method [(list type.int) type.void (list)])) - _.NULL)) - -(def: (io::current_time _) - (Nullary Inst) - (|>> (_.INVOKESTATIC $System "currentTimeMillis" (type.method [(list) type.long (list)])) - (_.wrap type.long))) - (def: bundle::lux Bundle (|> (: Bundle bundle.empty) @@ -376,9 +365,7 @@ (<| (bundle.prefix "io") (|> (: Bundle bundle.empty) (bundle.install "log" (unary io::log)) - (bundle.install "error" (unary io::error)) - (bundle.install "exit" (unary io::exit)) - (bundle.install "current-time" (nullary io::current_time))))) + (bundle.install "error" (unary io::error))))) (def: #export bundle Bundle -- cgit v1.2.3