10 lines
231 B
Racket
10 lines
231 B
Racket
|
#lang typed/syndicate/roles
|
||
|
|
||
|
(require rackunit/turnstile)
|
||
|
|
||
|
;; TODO - currently fails with a racket error. Is that OK?
|
||
|
;; (ideally, this would fail with a better error message)
|
||
|
(typecheck-fail
|
||
|
(let ([x (define y 5)])
|
||
|
(add1 1)))
|