typed-racket
typed-racket copied to clipboard
(WIP) Use `define-deprecated-alias` for legacy aliases
This is a (very) work-in-progress pull request to use the new define-deprecated-alias form to define the various aliases listed in Legacy Forms. This will allow Resyntax to automatically migrate users of these forms to their recommended replacements.
@samth These test failures confound me. Any idea what's going on here?
--------------------
Typechecker tests > tc-expr tests > 652 (case-lambda: (((a : Number) (b : Number)) (+ a b)))
ERROR
location: <pkgs>/typed-racket-test/unit-tests/typecheck-tests.rkt:652:8
typed-racket-test/unit-tests/typecheck-tests.rkt:652:35: type declaration: must be used in a definition context
in: :
--------------------
That's some of the most fragile code in TR. Is that test using the old alias or the new name?