Prevent import loops
Open
- Dominant language
- Haskell
- Stars
- 113
- Forks
- 9
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 1
Description
Importing the file with the same name leads to bad loop and consequently OOM.
We should probably record the files being processed (including the main file) and error out in case of loop.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the compiler's import-processing entry point and reproduce an import of a file with the same name. Trace how imported files are tracked, then verify that a repeated file produces an error instead of continuing until out-of-memory; no specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100