HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulesydtest-0.33.0.0Haskell2010

Test.Syd.MutationMode.CoverageListLocations

The child-process entry point that lists each leaf test's source location.

Prints, as a JSON array, the source location of every leaf test's it/prop/specify call site, then exits. Used by the diff-scoped mutation runner to map a changed test-source line back to the tests defined there.

  • 1 value
  • Packagesydtest-0.33.0.0
  • Exports1
  • LanguageHaskell2010
  • LicenceLicenseRef-OtherLicense
  • SourceCoverageListLocations.hs

Child-side entry point that prints, as a JSON array, the source location of every leaf test's it/prop/specify call site, then exits. Each element is a TestLocation (test id, source file, line).

A leaf whose CallStack is empty (it carries no recorded frame), or whose source file does not parse as a relative path, is omitted: it cannot be mapped to a source line, so the diff-scoped runner has no use for it.

The most-recent (head) frame of the CallStack is the it/prop/specify call site, because those combinators use withFrozenCallStack to fix the user's call site as the top frame.