Skip to content

false positive "unused variable" for sig-elems in define-signature #166

@ilya-klyuchnikov

Description

@ilya-klyuchnikov

For this code (from Racket Guide)

#lang racket
 
(define-signature toy-factory^
  (build-toys  ; (integer? -> (listof toy?))
   repaint     ; (toy? symbol? -> toy?)
   toy?        ; (any/c -> boolean?)
   toy-color)) ; (toy? -> symbol?)
 
(provide toy-factory^)

build-toys, repaint , toy? and toy-color are highlighted as "unused variables" (in VsCode with Magic Racket)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions