Commit Graph

634 Commits

Author SHA1 Message Date
Vincent St-Amour
6ca28bc60c Fix test for new contract error message format.
(cherry picked from commit 79ef8e889e)
2011-07-11 23:13:45 -04:00
Vincent St-Amour
50974440f4 Fix test to avoid differences in printing. 2011-07-07 11:41:59 -04:00
Vincent St-Amour
0494e16d4f Fix tests. 2011-07-06 18:34:14 -04:00
Vincent St-Amour
2e6b518c95 Add an extra test for partial bounds checking elimination. 2011-07-06 18:09:35 -04:00
Vincent St-Amour
a7459c5ee7 Do partial bounds checking elimination for flvector operations. 2011-07-06 18:09:31 -04:00
Vincent St-Amour
979545a90f First stab at optimizing bounds checking. 2011-07-06 18:09:29 -04:00
Eric Dobson
b25ee81d79 Changed TR test to use struct with struct info instead of HTDP struct. 2011-07-05 11:25:11 -04:00
Eric Dobson
805e1fb309 Correctly require/typed structs with parents. Closes PR11509. 2011-07-05 11:25:10 -04:00
Eric Dobson
0b76178138 Fix typechecking of call-with-values. Closes PR11709. 2011-07-05 11:25:10 -04:00
Eric Dobson
046d476970 Add types for kernel struct constructors. 2011-07-05 11:25:10 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eric Dobson
4439638308 Don't export required bindings with all-defined-out and require/typed.
Closes PR11425.
2011-07-01 16:06:15 -04:00
Vincent St-Amour
cd34760a33 Add a test case for struct-based match expanders.
Closes PR11617.

Using the taint system, the bug is fixed.
2011-06-30 14:21:52 -04:00
Eric Dobson
e3c4955ac9 Changed order type annotations are processed. Closes PR 11560. 2011-06-30 14:01:47 -04:00
Vincent St-Amour
43efe6adf0 Remove trailing whitespace. 2011-06-30 14:01:47 -04:00
Eric Dobson
b5e4515752 Changed order of imports in require/typed to order written.
Closes PR11193.
2011-06-30 14:01:47 -04:00
Eric Dobson
76a1112df0 Changed define-predicate to use recursive-contract. Closes PR 10939.
Closes PR11504.
2011-06-30 14:01:47 -04:00
Eric Dobson
d0cfebd5b4 Make TR provided struc-infos act like constructors. Closes PR11578.
Closes PR11866.
2011-06-29 17:38:05 -04:00
Eric Dobson
e87ff268c2 Added legacy support for require/typed and require-typed-struct.
Added FIXME for duplicated code.
2011-06-29 17:38:05 -04:00
Eric Dobson
ecaf5f40a0 Cleaned up define-typed-struct-internal and require/typed.
Also fixed a test for require/typed.
2011-06-29 17:38:05 -04:00
Eric Dobson
f3692eae29 Added support for configurable constructor names in require/typed.
Closes PR11171. Closes PR11194. Closes PR11314.
2011-06-29 17:38:05 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eric Dobson
a14723f27a Make vector-immutable work like vector. Closes PR 11535. 2011-06-27 11:35:48 -04:00
Sam Tobin-Hochstadt
f6be5447dd Rename to follow TR naming conventions. 2011-06-24 20:20:53 -04:00
Eric Dobson
0f0b9ebc7a TR: Added tests for new identifiers and export type names. 2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
19a7a37033 Fix rackunit types to be Any', not Void'. 2011-06-24 18:10:25 -04:00
Eric Dobson
ce0f542028 Correctly recreate Scopes. Closes PR 10552. Closes PR 11532. 2011-06-24 16:46:43 -04:00
Eric Dobson
d0d748c55a Corrects types for typed/rackunit. Closes PR 11912.
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 12:19:56 -04:00
Eric Dobson
4241557543 Change Module-Path to be union type instead of a Base type. Closes PR 11963. 2011-06-23 10:05:36 -04:00
Sam Tobin-Hochstadt
0df00e31d5 Add test for PR 10794. 2011-06-22 17:36:31 -04:00
Asumu Takikawa
122aed8970 Add negate (racket/function) to TR 2011-06-22 16:04:19 -04:00
Asumu Takikawa
cee2509476 TR test for racket/function 2011-06-22 16:04:19 -04:00
Eric Dobson
16ee3376f7 TR: Added more tests for recently typed identifiers. 2011-06-22 15:17:58 -04:00
Eric Dobson
c2a473cba2 Added tests for parameterizations and thread cells. 2011-06-22 15:17:57 -04:00
Eric Dobson
f5a7e73be8 TR: Added some syntax and set tests. 2011-06-22 15:17:57 -04:00
Eric Dobson
f5517367e5 Added tests for filesystem operations, and added public type names. 2011-06-22 15:17:57 -04:00
Sam Tobin-Hochstadt
f195b3c689 Remove `SomeSystemPath'. 2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
9be4b16703 Rename SomeSystemPath to `Path-For-Some-System' 2011-06-21 15:34:50 -04:00
Eric Dobson
0f6fde5003 Fixes TR regexp regression. Closes PR11991. 2011-06-21 15:34:50 -04:00
Vincent St-Amour
88dafca69f Update test format. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
26b909744c Display irritants nicely. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e Don't merge missed optimizations repeatedly, which artificially increases badness. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc08b4d401 Display badness of missed optimizations. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe Use write instead of display for syntax in logs. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
dda1b1c880 Don't keep useless return values around. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23 Do duplicate detection at the expanded syntax level, instead of the source level. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
866225b659 Adapt the log update script to work on specific files. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530 Report opts and missed opts in terms of the original programs, not in terms of expanded code. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc25b43293 Add script to update test files to new log formats. 2011-06-17 18:18:03 -04:00
Vincent St-Amour
86efbc8396 Specify opt or missed opt in the TR log format. 2011-06-17 18:18:03 -04:00