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
parent b75808c7d9
commit 0dd31a4f97

View File

@@ -6,7 +6,7 @@
- ``macros.callsite`` is now deprecated. Since the introduction of ``varargs``
parameters this became unnecessary.
- 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
to deal with!
- Indexing into a ``cstring`` for the JS target is now mapped