fixed typos so docgen works again
This commit is contained in:
parent
00a702baeb
commit
7deb8b2e7b
4 changed files with 4 additions and 3 deletions
|
|
@ -729,7 +729,7 @@ proc semOverloadedCallAnalyseEffects(c: PContext, n: PNode, nOrig: PNode,
|
||||||
case callee.kind
|
case callee.kind
|
||||||
of skMacro, skTemplate: discard
|
of skMacro, skTemplate: discard
|
||||||
else:
|
else:
|
||||||
if (callee.kind in skIterators) and (callee.id == c.p.owner.id):
|
if callee.kind in skIterators and callee.id == c.p.owner.id:
|
||||||
localError(n.info, errRecursiveDependencyX, callee.name.s)
|
localError(n.info, errRecursiveDependencyX, callee.name.s)
|
||||||
if sfNoSideEffect notin callee.flags:
|
if sfNoSideEffect notin callee.flags:
|
||||||
if {sfImportc, sfSideEffect} * callee.flags != {}:
|
if {sfImportc, sfSideEffect} * callee.flags != {}:
|
||||||
|
|
|
||||||
|
|
@ -364,6 +364,7 @@ proc semVarOrLet(c: PContext, n: PNode, symkind: TSymKind): PNode =
|
||||||
# BUGFIX: ``fitNode`` is needed here!
|
# BUGFIX: ``fitNode`` is needed here!
|
||||||
# check type compability between def.typ and typ
|
# check type compability between def.typ and typ
|
||||||
def = fitNode(c, typ, def)
|
def = fitNode(c, typ, def)
|
||||||
|
#changeType(def.skipConv, typ, check=true)
|
||||||
else:
|
else:
|
||||||
typ = skipIntLit(def.typ)
|
typ = skipIntLit(def.typ)
|
||||||
if typ.kind in {tySequence, tyArray, tySet} and
|
if typ.kind in {tySequence, tyArray, tySet} and
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
## Implementation of a queue. The underlying implementation uses a ``seq``.
|
## Implementation of a queue. The underlying implementation uses a ``seq``.
|
||||||
## Note: For inter thread communication use
|
## Note: For inter thread communication use
|
||||||
## a `TChannel <channels.html>``_ instead.
|
## a `TChannel <channels.html>`_ instead.
|
||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
## the `asyncio <asyncio.html>`_ module.
|
## the `asyncio <asyncio.html>`_ module.
|
||||||
##
|
##
|
||||||
## Since version 0.10.2 this module is deprecated. Use the `net <net.html>`_
|
## Since version 0.10.2 this module is deprecated. Use the `net <net.html>`_
|
||||||
## or the ``rawsockets <rawsockets.html>`_ module instead.
|
## or the `rawsockets <rawsockets.html>`_ module instead.
|
||||||
|
|
||||||
{.deprecated.}
|
{.deprecated.}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue