greghendershott / racket-mode

Emacs major and minor modes for Racket: edit, REPL, check-syntax, debug, profile, and more.

Home Page:https://www.racket-mode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test coverage doesn't work for match

greghendershott opened this issue · comments

Example:

#lang racket/base
(require racket/match)
(define (f v)
  (match v
    [v v]))
(define (g v)
  v)
(module+ test
  (f 42)
  (g 12))

After C-u C-u C-c C-t the entire (match __) form is highlighted in red as "uncovered".

From: https://racket.discourse.group/t/racket-mode-emacs-test-coverage-not-working-on-match/1898