implements module grouping for the import statement
This commit is contained in:
parent
2bb49136de
commit
4e481cc316
4 changed files with 37 additions and 14 deletions
|
|
@ -77,6 +77,17 @@ Language Additions
|
|||
v[0] = 6.0
|
||||
echo v[0]
|
||||
|
||||
- The ``import`` statement now supports importing multiple modules from
|
||||
the same directory:
|
||||
|
||||
.. code-block:: nim
|
||||
import compiler / [ast, parser, lexer]
|
||||
|
||||
Is a shortcut for:
|
||||
|
||||
.. code-block:: nim
|
||||
import compiler / ast, compiler / parser, compiler / lexer
|
||||
|
||||
|
||||
Bugfixes
|
||||
--------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue