`define-typed-syntax` doesnt handle implicit `:` with multiple \Rightarrow's

Issue #33 resolved
Stephen Chang repo owner created an issue

Eg (in fomega.rkt), the inst rule below needs the explicit : after the .

(define-typed-syntax (inst e τ ...) 
  [ e  e-  : (~∀ (tv ...) τ_body) ( (~∀★ k ...))]
  [ τ  τ-  k] ...
  #:with τ-inst (substs #'(τ- ...) #'(tv ...) #'τ_body)
  --------
  [ e-  τ-inst])

Otherwise I get the exception:

; datum->syntax: contract violation
;   expected: (or/c syntax? #f)
;   given: ...

Comments (1)

  1. Log in to comment