Tensegritics / Tensegritics/ClojureDart

Compiler cannot recover namespaces that are not found

Open
#162 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Clojure
Stars
1.6k
Forks
119
PR merge metrics
No merged PRs in 30d

Description

Repro:
on a valid ns, change the namespace name like so:

file: src/my/code.cljd (this does not change)
(ns my.code) -> (ns my.ns2)

then you get a compilation error which is normal but the compiler can't recover from it when you change back to the right ns name

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the namespace change in src/my/code.cljd, first changing my.code to my.ns2 and then restoring it. Trace the compiler's handling of the missing namespace and verify that restoring the valid name allows compilation to recover without restarting or other manual intervention.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.