forcing flat contracts to avoid chaperone wrapping

This commit is contained in:
Spencer Florence 2015-02-14 20:15:42 -05:00
parent 0cc9c8d5ad
commit 4986abc0ab
2 changed files with 5 additions and 7 deletions

View File

@ -6,11 +6,10 @@
[coverage/c contract?]
[file-coverage/c contract?]
[test-files! (->* () (#:submod symbol?)
#:rest (listof path-string?)
;; TODO when we figure out the contract issue we will change this
#;
#:rest
(listof (or/c path-string?
(list/c path-string? (vectorof string?))))
(list/c path-string? (vectorof string?
#:immutable #t))))
any)]
[clear-coverage! (-> any)]
[get-test-coverage (-> coverage/c)]

View File

@ -4,11 +4,10 @@
racket/match
racket/contract/base
racket/function
"cover.rkt"
"main.rkt"
(only-in "private/contracts.rkt" coverage-gen/c)
"private/shared.rkt"
"private/file-utils.rkt"
"private/format-utils.rkt"
(only-in (submod compiler/commands/test paths) collection-paths)
pkg/lib)
@ -139,7 +138,7 @@
null
(map (lambda (x)
(list (->absolute (car x))
(list->vector (cadr x))))
(vector->immutable-vector (list->vector (cadr x)))))
new-argv)))
(define full-argv (append expanded-argv args))
(if (should-omit? (current-directory) full-omits)