Clean out (#15440)
This commit is contained in:
parent
4e7d383f29
commit
79a92da8ef
2 changed files with 1 additions and 5 deletions
|
|
@ -156,7 +156,7 @@
|
||||||
Proc `rightSize` for Tables and HashSets is deprecated, as it is not needed anymore.
|
Proc `rightSize` for Tables and HashSets is deprecated, as it is not needed anymore.
|
||||||
`CountTable.inc` takes `val: int` again not `val: Positive`; I.e. it can "count down" again.
|
`CountTable.inc` takes `val: int` again not `val: Positive`; I.e. it can "count down" again.
|
||||||
- Removed deprecated symbols from `macros` module, deprecated as far back as `0.15`.
|
- Removed deprecated symbols from `macros` module, deprecated as far back as `0.15`.
|
||||||
|
- Removed `sugar.distinctBase`, deprecated since `0.19`.
|
||||||
- Export `asyncdispatch.PDispatcher.handles` so that an external library can register them.
|
- Export `asyncdispatch.PDispatcher.handles` so that an external library can register them.
|
||||||
|
|
||||||
- Added `deques.toDeque`, which creates a deque from an openArray. The usage is
|
- Added `deques.toDeque`, which creates a deque from an openArray. The usage is
|
||||||
|
|
|
||||||
|
|
@ -186,10 +186,6 @@ proc freshIdentNodes(ast: NimNode): NimNode =
|
||||||
result.add inspect(child)
|
result.add inspect(child)
|
||||||
result = inspect(ast)
|
result = inspect(ast)
|
||||||
|
|
||||||
template distinctBase*(T: typedesc): typedesc {.deprecated: "use distinctBase from typetraits instead".} =
|
|
||||||
## reverses ``type T = distinct A``; works recursively.
|
|
||||||
typetraits.distinctBase(T)
|
|
||||||
|
|
||||||
macro capture*(locals: varargs[typed], body: untyped): untyped {.since: (1, 1).} =
|
macro capture*(locals: varargs[typed], body: untyped): untyped {.since: (1, 1).} =
|
||||||
## Useful when creating a closure in a loop to capture some local loop variables
|
## Useful when creating a closure in a loop to capture some local loop variables
|
||||||
## by their current iteration values. Example:
|
## by their current iteration values. Example:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue