mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
Merge pull request #774 from brihat/master
Correct the spelling of the word 'implicitly'
This commit is contained in:
@@ -238,7 +238,7 @@ type
|
||||
sfMainModule, # module is the main module
|
||||
sfSystemModule, # module is the system module
|
||||
sfNoReturn, # proc never returns (an exit proc)
|
||||
sfAddrTaken, # the variable's address is taken (ex- or implicitely);
|
||||
sfAddrTaken, # the variable's address is taken (ex- or implicitly);
|
||||
# *OR*: a proc is indirectly called (used as first class)
|
||||
sfCompilerProc, # proc is a compiler proc, that is a C proc that is
|
||||
# needed for the code generator
|
||||
@@ -257,7 +257,7 @@ type
|
||||
# for interfacing with C++, JS
|
||||
sfNamedParamCall, # symbol needs named parameter call syntax in target
|
||||
# language; for interfacing with Objective C
|
||||
sfDiscardable, # returned value may be discarded implicitely
|
||||
sfDiscardable, # returned value may be discarded implicitly
|
||||
sfDestructor, # proc is destructor
|
||||
sfGenSym # symbol is 'gensym'ed; do not add to symbol table
|
||||
|
||||
|
||||
@@ -508,7 +508,7 @@ proc fixAbstractType(c: PContext, n: PNode) =
|
||||
changeType(it.sons[1], s, check=true)
|
||||
n.sons[i] = it.sons[1]
|
||||
of nkBracket:
|
||||
# an implicitely constructed array (passed to an open array):
|
||||
# an implicitly constructed array (passed to an open array):
|
||||
n.sons[i] = semArrayConstr(c, it, {})
|
||||
else:
|
||||
nil
|
||||
|
||||
@@ -215,7 +215,7 @@ Backend issues
|
||||
- Init procs must not be "forgotten" to be called.
|
||||
- Files must not be "forgotten" to be linked.
|
||||
- Anything that is contained in ``nim__dat.c`` is shared between modules
|
||||
implicitely.
|
||||
implicitly.
|
||||
- Method dispatchers are global.
|
||||
- DLL loading via ``dlsym`` is global.
|
||||
- Emulated thread vars are global.
|
||||
|
||||
@@ -77,7 +77,7 @@ section.
|
||||
Inheritance is done with the ``object of`` syntax. Multiple inheritance is
|
||||
currently not supported. If an object type has no suitable ancestor, ``TObject``
|
||||
can be used as its ancestor, but this is only a convention. Objects that have
|
||||
no ancestor are implicitely ``final``. You can use the ``inheritable`` pragma
|
||||
no ancestor are implicitly ``final``. You can use the ``inheritable`` pragma
|
||||
to introduce new object roots apart from ``system.TObject``. (This is used
|
||||
in the GTK wrapper for instance.)
|
||||
|
||||
|
||||
@@ -295,7 +295,7 @@ template ThreadProcWrapperBody(closure: expr) {.immediate.} =
|
||||
when defined(windows):
|
||||
proc threadProcWrapper[TArg](closure: pointer): int32 {.stdcall.} =
|
||||
ThreadProcWrapperBody(closure)
|
||||
# implicitely return 0
|
||||
# implicitly return 0
|
||||
else:
|
||||
proc threadProcWrapper[TArg](closure: pointer) {.noconv.} =
|
||||
ThreadProcWrapperBody(closure)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
template withOpenFile(f: expr, filename: string, mode: TFileMode,
|
||||
actions: stmt): stmt {.immediate.} =
|
||||
block:
|
||||
# test that 'f' is implicitely 'injecting':
|
||||
# test that 'f' is implicitly 'injecting':
|
||||
var f: TFile
|
||||
if open(f, filename, mode):
|
||||
try:
|
||||
|
||||
@@ -1931,7 +1931,7 @@ static void gen_assign_cast(CType *dt)
|
||||
goto type_ok;
|
||||
}
|
||||
type1 = pointed_type(dt);
|
||||
/* a function is implicitely a function pointer */
|
||||
/* a function is implicitly a function pointer */
|
||||
if (sbt == VT_FUNC) {
|
||||
if ((type1->t & VT_BTYPE) != VT_VOID &&
|
||||
!is_compatible_types(pointed_type(dt), st))
|
||||
|
||||
@@ -309,7 +309,7 @@ Changes affecting backwards compatibility
|
||||
- The Nimrod type system now distinguishes ``openarray`` from ``varargs``.
|
||||
- Templates are now ``hygienic``. Use the ``dirty`` pragma to get the old
|
||||
behaviour.
|
||||
- Objects that have no ancestor are now implicitely ``final``. Use
|
||||
- Objects that have no ancestor are now implicitly ``final``. Use
|
||||
the ``inheritable`` pragma to introduce new object roots apart
|
||||
from ``TObject``.
|
||||
- Macros now receive parameters like templates do; use the ``callsite`` builtin
|
||||
@@ -439,7 +439,7 @@ Language Additions
|
||||
- The error pragma can now be used to mark symbols whose *usage* should trigger
|
||||
a compile-time error.
|
||||
- There is a new ``discardable`` pragma that can be used to mark a routine
|
||||
so that its result can be discarded implicitely.
|
||||
so that its result can be discarded implicitly.
|
||||
- Added a new ``noinit`` pragma to prevent automatic initialization to zero
|
||||
of variables.
|
||||
- Constants can now have the type ``seq``.
|
||||
|
||||
Reference in New Issue
Block a user