summary refs log tree commit diff stats
path: root/tests/ic/tstdlib_import_changed.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-04-18 07:27:03 +0200
committerGitHub <noreply@github.com>2021-04-18 07:27:03 +0200
commit7b6ab5109fe76afefbf5744b5f9f534e86d94629 (patch)
treebc7560e7f05928eecc7e18dfe72208ad412e7272 /tests/ic/tstdlib_import_changed.nim
parentc8b8cb8458cf0aa5a33e9a94209ee1cb6df7646c (diff)
downloadNim-7b6ab5109fe76afefbf5744b5f9f534e86d94629.tar.gz
IC exposes typedesc implementation shenanigans (#17759)
* IC exposes typedesc implementation shenanigans; so I change system.default's definition to what it should have been to begin with
* Update lib/system.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Diffstat (limited to 'tests/ic/tstdlib_import_changed.nim')
-rw-r--r--tests/ic/tstdlib_import_changed.nim15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ic/tstdlib_import_changed.nim b/tests/ic/tstdlib_import_changed.nim
new file mode 100644
index 000000000..da69a53b5
--- /dev/null
+++ b/tests/ic/tstdlib_import_changed.nim
@@ -0,0 +1,15 @@
+discard """
+  output: '''yes'''
+"""
+
+echo "yes"
+
+#!EDIT!#
+
+discard """
+  output: '''yes2'''
+"""
+
+import std / [monotimes]
+#discard getMonoTime()
+echo "yes2"