lake icon indicating copy to clipboard operation
lake copied to clipboard

Warn or fail when creating packages with invalid names

Open thorimur opened this issue 3 years ago • 0 comments

Although an experienced Lean user will know to simply not name packages incorrectly, a new one might choose to name a package e.g. "meta" with lake init meta, then be surprised when the lakefile produces errors like "expected identifier" upon building.

Of course, this is not the most pressing issue, but eventually it would be nice to make sure that all runs of lake init that do not warn or fail do produce valid packages.

thorimur avatar Oct 02 '22 20:10 thorimur