summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-04-03 00:03:13 -0700
committerGitHub <noreply@github.com>2020-04-03 09:03:13 +0200
commitd23371fdd7e68c48873e09fb9e4abd76e0c57b66 (patch)
treec5133ba40656c9d7827f3671f719cd21c2a0bca1
parent7d17cd34b8d3ef134885f9317b9799d3c5952737 (diff)
downloadNim-d23371fdd7e68c48873e09fb9e4abd76e0c57b66.tar.gz
std/byaddr => std/decls (#13847)
-rw-r--r--changelogs/changelog_1_2_0.md4
-rw-r--r--lib/std/decls.nim (renamed from lib/std/byaddr.nim)0
-rw-r--r--tests/stdlib/tdecls.nim (renamed from tests/stdlib/tbyaddr.nim)2
3 files changed, 3 insertions, 3 deletions
diff --git a/changelogs/changelog_1_2_0.md b/changelogs/changelog_1_2_0.md
index a396e014b..6a5a6c586 100644
--- a/changelogs/changelog_1_2_0.md
+++ b/changelogs/changelog_1_2_0.md
@@ -149,9 +149,9 @@ echo f
   versions. The documentation was improved to acknowledge this special case.
   See https://github.com/nim-lang/RFCs/issues/175 for more details.
 - New syntax for lvalue references: `var b {.byaddr.} = expr` enabled by
-  `import std/byaddr`.
+  `import std/decls`.
 - `var a {.foo.}: MyType = expr` now lowers to `foo(a, MyType, expr)` for
-  non-builtin pragmas, enabling things like lvalue references (see `pragmas.byaddr`).
+  non-builtin pragmas, enabling things like lvalue references (see `decls.byaddr`).
 
 
 ## Compiler changes
diff --git a/lib/std/byaddr.nim b/lib/std/decls.nim
index dd7d19da7..dd7d19da7 100644
--- a/lib/std/byaddr.nim
+++ b/lib/std/decls.nim
diff --git a/tests/stdlib/tbyaddr.nim b/tests/stdlib/tdecls.nim
index b485635c7..3567639e0 100644
--- a/tests/stdlib/tbyaddr.nim
+++ b/tests/stdlib/tdecls.nim
@@ -1,4 +1,4 @@
-import std/byaddr
+import std/decls
 
 block:
   var s = @[10,11,12]