Proposal
Lake should warn, with an overridable warning, when a new project is given a problematic name such as Test. We recently saw a fresh project depending on mathlib fail to compile because Lean resolved Test.Basic to Plausible.Test.Basic. A warning at project creation time, or at least a clearer error message, would make this much easier to understand and avoid.
More generally, lake could check if the name of the project is already "taken" by a dependency (for example if a project depending on mathlib is called batteries).
Proposal
Lake should warn, with an overridable warning, when a new project is given a problematic name such as
Test. We recently saw a fresh project depending on mathlib fail to compile because Lean resolvedTest.BasictoPlausible.Test.Basic. A warning at project creation time, or at least a clearer error message, would make this much easier to understand and avoid.More generally, lake could check if the name of the project is already "taken" by a dependency (for example if a project depending on mathlib is called
batteries).