summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-10-10 21:02:23 +0800
committerGitHub <noreply@github.com>2022-10-10 15:02:23 +0200
commitd954e698b3cb849bbd8538afdcd1a42cae394719 (patch)
tree31d274de9e3a68fcb545c36b488484490bb1444a /doc
parentb8def035755042a224b46be5b468d81c82ae2039 (diff)
downloadNim-d954e698b3cb849bbd8538afdcd1a42cae394719.tar.gz
Automatic dereferencing is removed (#20531)
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.md4
-rw-r--r--doc/manual_experimental.md23
2 files changed, 0 insertions, 27 deletions
diff --git a/doc/manual.md b/doc/manual.md
index 41f6f0638..df486d446 100644
--- a/doc/manual.md
+++ b/doc/manual.md
@@ -1984,10 +1984,6 @@ dereferencing operations for reference types:
   # no need to write n[].data; in fact n[].data is highly discouraged!
   ```
 
-Automatic dereferencing can be performed for the first argument of a routine
-call, but this is an experimental feature and is described [here](
-manual_experimental.html#automatic-dereferencing).
-
 In order to simplify structural type checking, recursive tuples are not valid:
 
   ```nim
diff --git a/doc/manual_experimental.md b/doc/manual_experimental.md
index 5679db35a..cef4ff265 100644
--- a/doc/manual_experimental.md
+++ b/doc/manual_experimental.md
@@ -286,29 +286,6 @@ scope. Therefore, the following will *fail to compile:*
 This feature will likely be replaced with a better solution to remove
 the need for forward declarations.
 
-
-Automatic dereferencing
-=======================
-
-Automatic dereferencing is performed for the first argument of a routine call.
-This feature has to be enabled via `{.experimental: "implicitDeref".}`:
-
-  ```nim
-  {.experimental: "implicitDeref".}
-
-  type
-    NodeObj = object
-      # ...
-    Node = ref NodeObj
-
-  proc depth(x: NodeObj): int = ...
-
-  let n = Node()
-  echo n.depth
-  # no need to write n[].depth
-  ```
-
-
 Special Operators
 =================