typed-racket-lib shouldn't have any dependencies on rackunit. The other
issue is that if they are seperate they won't get run when someone runs
typed-racket-test/tests/typed-racket/run.rkt --all.


On Thu, Jan 30, 2014 at 7:26 AM, Sam Tobin-Hochstadt <
notifications@github.com> wrote:

> In
> pkgs/typed-racket-pkgs/typed-racket-lib/typed-racket/base-env/class-prims.rkt:
>
> > +               (cons stx (loop (cdr stxs)))]
> > +              [_ (cons stx (loop (cdr stxs)))])])))
> > +
> > + ;; add-names-to-intdef-context : Intdef-Ctx Dict<Id, Names> -> Void
> > + ;; Establish accessor names in the internal definition context
> > + ;; to avoid unbound identifier errors at this level
> > + (define (add-names-to-intdef-context def-ctx name-dict)
> > +   (define (add-kind kind)
> > +     (define names (map stx-car (dict-ref name-dict kind null)))
> > +     (syntax-local-bind-syntaxes names #f def-ctx))
> > +   (add-kind #'init-field)
> > +   (add-kind #'field)
> > +   (add-kind #'public)
> > +   (add-kind #'pubment))
> > +
> > + (module+ test
>
> Since these are unit tests for unexported stuff, I think it's reasonable
> to have them here.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/plt/racket/pull/554/files#r9308656>
> .
>