mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-20 16:01:29 +00:00
implements module grouping for the import statement
This commit is contained in:
@@ -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
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user