Skip to content

fix: clarify footprint function errors#663

Open
vahapogut wants to merge 2 commits into
tscircuit:mainfrom
vahapogut:fix-footprint-error-messages
Open

fix: clarify footprint function errors#663
vahapogut wants to merge 2 commits into
tscircuit:mainfrom
vahapogut:fix-footprint-error-messages

Conversation

@vahapogut

Copy link
Copy Markdown

Fixes #46

Summary

  • Add one shared diagnostic for missing/invalid footprint functions.
  • Include the missing function name in both string parser and fluent API errors.
  • Add regression coverage for string, fluent, and empty footprinter error paths.

Verification

  • bun test tests/fp-string-error.test.ts tests/dip.test.ts
  • bun x biome check src/footprinter.ts tests/fp-string-error.test.ts
  • bun run build
  • git diff --check

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.

Create better footprint errors

1 participant