the compiler can now deal with multiple modules of the same name
This commit is contained in:
parent
c085a1b4f0
commit
a0b82db402
13 changed files with 74 additions and 18 deletions
|
|
@ -134,7 +134,8 @@ directory structure looks like this::
|
|||
|
||||
And ``main`` imports ``x``, ``foo/x`` is imported. If ``other`` imports ``x``
|
||||
then both ``$lib/x.nim`` and ``$lib/bar/x.nim`` match and so the compiler
|
||||
rejects it.
|
||||
should reject it. Currently however this check is not implemented and instead
|
||||
the first matching file is used.
|
||||
|
||||
|
||||
Generated C code directory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue