mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 11:24:08 +00:00
deviated -> derived (#12845) [backport]
This commit is contained in:
@@ -3679,7 +3679,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