Commit Graph

661 Commits

Author SHA1 Message Date
Vincent St-Amour
b124d68f40 Improve error message for calls to 'sort' when inference fails. 2011-08-03 17:39:15 -04:00
Vincent St-Amour
5b22dfb6b0 Add for*/sum: and for*/product: to TR.
These currently don't play nice with inference, so they only work in
limited cases.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
6a8011854b Add for/sum: and for/product: to TR. 2011-07-29 12:54:29 -04:00
Vincent St-Amour
73140544ce Clean up. 2011-07-21 17:06:03 -04:00
Sam Tobin-Hochstadt
7a763a2da8 Fix types of kernel struct constructors to include parent fields.
Merge to 5.1.2.
2011-07-20 15:19:53 -04:00
Eric Dobson
e07ce478af Switched name field in struct type to identifier. Closes PR 11728.
Closes PR 11998. Closes PR11859.
2011-07-19 16:47:13 -04:00
Eric Dobson
a7f0f7591d Fixed types for path operations. Closes PR12057. 2011-07-19 16:47:13 -04:00
Vincent St-Amour
419398ce1a Fix test to not be dependent on floating-point printing. 2011-07-19 15:19:17 -04:00
Vincent St-Amour
29882d8fa1 Remove redundant precision-loss messages. 2011-07-19 15:19:17 -04:00
Sam Tobin-Hochstadt
42b79dd489 Fix Typed Racket handling of exception handling with multiple return values. 2011-07-18 17:42:28 -04:00
Vincent St-Amour
5d4d9f2636 Add test for missed opts in multi-file programs. 2011-07-15 15:04:58 -04:00
Vincent St-Amour
db9d51fef7 Change the structure of the "extra precision" missed optimizations.
Avoids reports that are almost duplicates.
2011-07-15 15:04:58 -04:00
Vincent St-Amour
f4c3e51d3b Make a test a bit more complicated. 2011-07-15 15:04:56 -04:00
Vincent St-Amour
c5d46449b7 Fix new optimization to use the new loggin facilities. 2011-07-15 15:04:55 -04:00
Vincent St-Amour
34ccf6a3fb Fix new optimization to use new logging. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
d146f8c590 Report missed fixnum optimizations. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
fbf802e61c Fix tests. 2011-07-15 15:04:54 -04:00
Vincent St-Amour
9640d2bfbc Fix tests for new log format. 2011-07-15 15:04:53 -04:00
Vincent St-Amour
5e5fdb2981 Remove redundant optimization reporting. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
8d680ced89 Display larger regions for optimizations. 2011-07-15 15:04:52 -04:00
Vincent St-Amour
a71a45e41f Relocate TR logging capture. 2011-07-15 15:04:51 -04:00
Vincent St-Amour
adeef671cd Fix TR tests to use the new contract error message format.
If 7b9b3c371b is included in the release, this should be too.
2011-07-14 17:06:52 -04:00
Eric Dobson
e6030295ff Fix kernel-struct tests in TR. 2011-07-14 17:06:52 -04:00
Eric Dobson
bf72db0f7b Clean up some contract errors and type->contract. Closes PR11756. 2011-07-14 17:06:52 -04:00
Eric Dobson
5e08f7a411 Fixes for inference. Closes PR10937. 2011-07-14 17:06:51 -04:00
Eric Dobson
8a2c9b4682 TR: Produce better error messages with values. Closes PR11772. 2011-07-14 17:06:51 -04:00
Vincent St-Amour
59a85b3eb2 Add list optimizations. 2011-07-11 15:55:07 -04:00
Vincent St-Amour
79ef8e889e Fix test for new contract error message format. 2011-07-11 15:35:49 -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