mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
deviated -> derived (#12845) [backport]
(cherry picked from commit 46144a31ab)
This commit is contained in:
@@ -3676,7 +3676,7 @@ a syntax like:
|
||||
proc foo(other: Y; container: var X): var T from container
|
||||
|
||||
Here ``var T from container`` explicitly exposes that the
|
||||
location is deviated from the second parameter (called
|
||||
location is derived from the second parameter (called
|
||||
'container' in this case). The syntax ``var T from p`` specifies a type
|
||||
``varTy[T, 2]`` which is incompatible with ``varTy[T, 1]``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user