From: Brendan Hansen Date: Mon, 27 Mar 2023 02:20:54 +0000 (-0500) Subject: removed: all references to `use package` X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=5638d5a0e967627bdc5291ce8cddd410b363b5d4;p=onyx.git removed: all references to `use package` --- diff --git a/core/runtime/platform/wasi/clock.onyx b/core/runtime/platform/wasi/clock.onyx index 4aea60dd..d19652cb 100644 --- a/core/runtime/platform/wasi/clock.onyx +++ b/core/runtime/platform/wasi/clock.onyx @@ -6,7 +6,7 @@ package core.clock #error "'core.clock' is only available with the 'wasi' or 'onyx' runtimes."; } -use package wasi +use wasi {package, *} time :: () -> u64 { output_time: Timestamp; diff --git a/examples/09_for_loops.onyx b/examples/09_for_loops.onyx index f36697ee..385fe700 100644 --- a/examples/09_for_loops.onyx +++ b/examples/09_for_loops.onyx @@ -6,7 +6,7 @@ #load "core/std" -use package core +use core {package, *} main :: (args: [] cstr) { // Currently, for loops can iterate over five kinds of data structures in Onyx: