typed-racket/typed-racket-test
Ben Greenman 9df037b0f6 static-contracts: less or/sc optimization
Prevent the static contract optimizer from changing constructors under `or/sc`.

i.e., for static contracts of the form `(or/sc other-scs ...)`,
 the optimizer cannot optimize any of the `other-scs ...` to `any/sc`
 but it can optimize sub-contracts of the `other-scs ...`

Example:
  `(or/sc set?/sc (box/sc set?/sc))` in a trusted position now optimizes to itself,
  instead of `any/sc`

Optimization can resume under a sub-contract that represents a "heavy" type constructor.
(I mean, `U` is a type constructor but it's not "heavy" like that.)
2017-09-28 23:48:22 -04:00
..
fail add dependent function types (#584) 2017-09-25 12:52:33 -04:00
gui/succeed add types for Immutable-HashTable, Mutable-HashTable, Weak-HashTable (#559) 2017-06-26 18:00:19 -04:00
optimizer Tests for #577. 2017-07-10 16:24:57 -05:00
performance remove interning for most Reps in TR 2016-12-16 15:18:50 -05:00
succeed static-contracts: less or/sc optimization 2017-09-28 23:48:22 -04:00
unit-tests static-contracts: less or/sc optimization 2017-09-28 23:48:22 -04:00
xfail Adjust tests since opaque structs are no longer accepted by Any. 2016-07-09 21:22:08 -04:00
historical-counterexamples.rkt More drdr-found counterexamples. 2015-11-09 17:24:12 -06:00
info.rkt Have Andrew get email for failing tests on DrDr. 2017-05-22 11:20:06 -05:00
LICENSE.txt Remove extra directories. 2014-12-02 00:53:36 -05:00
main.rkt Fix accidentally-committed debugging code. 2016-06-24 09:15:28 -04:00
nightly-run.rkt Reduce directory nesting for tests. 2014-12-16 10:07:25 -05:00
places.rkt Rename open-place to place/context. 2015-07-28 16:15:08 -05:00
random-real.rkt Use math/flonum instead of unstable/flonum. 2015-08-27 14:14:51 -05:00
run.rkt Reorganize the TR testing files, and add progress output. 2015-12-29 16:43:25 -05:00
send-places.rkt Reduce directory nesting for tests. 2014-12-16 10:07:25 -05:00
test-docs-complete.rkt Reduce directory nesting for tests. 2014-12-16 10:07:25 -05:00
tr-random-testing.rkt Be more robust against one of {TR,R} erroring. 2015-11-10 16:39:18 -06:00
with-tr-contracts.rkt disable with-tr-contracts for now 2017-03-31 18:01:18 -04:00