fix typo in changelog.md: nnkTupleConst => nnkTupleConstr

This commit is contained in:
Timothee Cour 2018-08-20 15:22:25 -07:00 • committed by Dominik Picheta
commit 0dd31a4f97

View file

@ -6,7 +6,7 @@
- ``macros.callsite`` is now deprecated. Since the introduction of ``varargs`` - ``macros.callsite`` is now deprecated. Since the introduction of ``varargs``
parameters this became unnecessary. parameters this became unnecessary.
- Anonymous tuples with a single element can now be written as ``(1,)`` with a - Anonymous tuples with a single element can now be written as ``(1,)`` with a
trailing comma. The underlying AST is ``nnkTupleConst(newLit 1)`` for this trailing comma. The underlying AST is ``nnkTupleConstr(newLit 1)`` for this
example. ``nnkTupleConstr`` is a new node kind your macros need to be able example. ``nnkTupleConstr`` is a new node kind your macros need to be able
to deal with! to deal with!
- Indexing into a ``cstring`` for the JS target is now mapped - Indexing into a ``cstring`` for the JS target is now mapped