Manual renames
This commit is contained in:
parent
c7934be7e8
commit
9a6fb37c22
14 changed files with 141 additions and 141 deletions
|
|
@ -118,11 +118,11 @@ initialized and does not rely on syntactic properties:
|
|||
|
||||
.. code-block:: nim
|
||||
type
|
||||
TMyObject = object {.requiresInit.}
|
||||
MyObject = object {.requiresInit.}
|
||||
|
||||
proc p() =
|
||||
# the following is valid:
|
||||
var x: TMyObject
|
||||
var x: MyObject
|
||||
if someCondition():
|
||||
x = a()
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue