Skip to content

Conversation

zielmicha
Copy link
Contributor

Turns out that stack size for thread started by clone was too small.

Araq added a commit that referenced this pull request Feb 23, 2014
osproc: increase stack size from 8k to 64k and disable useClone default
@Araq Araq merged commit 8df13d4 into nim-lang:devel Feb 23, 2014
Araq added a commit that referenced this pull request Apr 7, 2014
osproc: increase stack size from 8k to 64k and disable useClone default
Clyybber pushed a commit to Clyybber/Nim that referenced this pull request Oct 19, 2023
## Summary

`suggest` correctly falls back to treating the project module as the
parent module for out of project files/modules.

## Details

Prior to this change, querying the parent module for a file that is not
the project or a dependent module in the the project (via `import` or
`include`), resulted in a returning a file index of `0`. This resulted
in the parent being treated as the config file (typically first to get
indexed).

After this change, parent module querying, via `parentModule`, where no
parent is found results in an `InvalidFileIdx`. Since this is used as
part of suggest we continue to make progress by assuming the project
module is the parent module and continue semantic analysis.

As part of this change a regression test was added to ensure this
continues to work.

---------

Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants