Say I have two files, "file-a.rkt" and "file-b.rkt" that each contain a 
submodule test, like so:


Contents of "file-a.rkt":

#lang racket/base
(define (my-function) 'apple)
(module+ test 
    (require "file-b.rkt")
    (other-function)) 

Contents of "file-b.rkt":

#lang racket/base
(define (other-function) 'orange)
(module+ test 
    (require "file-a.rkt")
    (my-function)) 

The require statements form a circular reference, even though running 
file-b, along with its tests, shouldn't trigger file-a's tests. 

I've looked into compiling file-a and file-b, but that didn't work.

- Brandon

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to