Skip to content

Conversation

@tilin94
Copy link
Contributor

@tilin94 tilin94 commented Dec 3, 2025

Resolves #271

The dist-newstyle/ directory is not being filtered out during test discovery. This causes
neotest-haskell to pick up autogenerated files like:

dist-newstyle/build/.../autogen/Paths_.hs
dist-newstyle/build/.../autogen/PackageInfo_
.hs
When select_framework runs on these files, it fails with "Could not find a test framework handler"
since they don't import any test framework. This error cascades through nio.gather() and results in:

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Review Checklist

Does this PR follow the Contribution Guidelines? Following is a partial checklist:

Proper conventional commit scoping:

  • For example, fix(lsp): some lsp-related bugfix

  • Pull request title has the appropriate conventional commit prefix.

If applicable:

  • Tested
    • Tests have been added.
    • Tested manually (Steps to reproduce in PR description).
  • Updated documentation.

@tilin94 tilin94 changed the title fix: dist-newstile typo fix(base.lua): dist-newstile typo Dec 3, 2025
@mrcjkb mrcjkb changed the title fix(base.lua): dist-newstile typo fix(filtering): dist-newstile typo Dec 3, 2025
Copy link
Owner

@mrcjkb mrcjkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

@mrcjkb mrcjkb enabled auto-merge (squash) December 3, 2025 18:14
@mrcjkb mrcjkb disabled auto-merge December 3, 2025 18:15
@mrcjkb mrcjkb enabled auto-merge (squash) December 3, 2025 18:15
@mrcjkb mrcjkb merged commit 579d84a into mrcjkb:master Dec 3, 2025
6 checks passed
@mrcjkb
Copy link
Owner

mrcjkb commented Dec 3, 2025

@all-contributors please add @tilin94 for bug

@allcontributors
Copy link
Contributor

@mrcjkb

I've put up a pull request to add @tilin94! 🎉

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.

Typo in filter_dir: 'dist-newstile' should be 'dist-newstyle'

2 participants