Commit Graph

386 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
2d094db270 Fix typechecking of `#%variable-reference' 2011-08-14 13:40:42 -04:00
Vincent St-Amour
5d4e5ed393 Break long lines. 2011-08-03 17:39:16 -04:00
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
88a3d93e9e Add a type for #%kernel's reverse.
Present in the expansion of for/list.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
c085f51aa2 Fix for empty case-lambdas. 2011-07-22 17:24:14 -04:00
Vincent St-Amour
3ba93cb165 Add a heuristic for case-lambda type simplification.
Makes simplification _much_ faster for types that have a single most
general case. That includes most numeric functions.
2011-07-22 16:55:21 -04:00
Vincent St-Amour
86490943a3 Remove stale comment. 2011-07-22 16:46:10 -04:00
Vincent St-Amour
02b76d7741 Omit a redundant pass. 2011-07-22 16:40:11 -04:00
Vincent St-Amour
84931448b5 Flip order of type simplification passes. 2011-07-22 16:38:15 -04:00
Vincent St-Amour
5b6d0ae167 Refactoring. 2011-07-22 16:22:36 -04:00
Vincent St-Amour
f7be12d313 Typecheck pregexp literals correctly. 2011-07-22 16:22:36 -04:00
Vincent St-Amour
fe58048844 Remove stale comment. 2011-07-21 17:06:03 -04:00
Vincent St-Amour
59027c6b40 Moved handling of empty pruned case-lambdas. 2011-07-21 17:06:03 -04:00
Vincent St-Amour
c0d0211ebb Add a function to query how to get a given return type from a function. 2011-07-21 17:06:03 -04:00
Vincent St-Amour
4735ad3523 Refactoring. 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
Sam Tobin-Hochstadt
42b79dd489 Fix Typed Racket handling of exception handling with multiple return values. 2011-07-18 17:42:28 -04:00
Sam Tobin-Hochstadt
23c47728c5 Strengthen contracts to require syntax lists. 2011-07-18 17:41:17 -04:00
Eric Dobson
27ffe4cb6a Fixes error messages for unsupported provide forms 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
8a2c9b4682 TR: Produce better error messages with values. Closes PR11772. 2011-07-14 17:06:51 -04:00
Carl Eastlund
2e6a608539 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
2011-07-09 14:46:58 -04:00
Matthew Flatt
efd1fa51bd change `find-method/send' back to one result
The 2-result implementation is not needed now that contracts
 are implemented via impersonators
2011-07-09 07:08:32 -06:00
Eric Dobson
a9655c04dd Provides better error message for PR 11889. 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
Vincent St-Amour
27d7ad1e87 Have letrec build unions in canonical form. 2011-07-01 16:06:15 -04:00
Vincent St-Amour
43efe6adf0 Remove trailing whitespace. 2011-06-30 14:01:47 -04:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06: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
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
Eric Dobson
0671945a8d Moved tests for equality to unit tests 2011-06-17 15:17:20 -04:00
Vincent St-Amour
26541ffbbd Unify types and filter behavior of not and false?. 2011-06-16 18:08:44 -04:00
Sam Tobin-Hochstadt
b76819a66e Wrap expected type. Closes PR 11980. 2011-06-14 19:05:16 -04:00
Vincent St-Amour
3b036388d6 Remove trailing whitespace. 2011-05-18 17:09:45 -04:00
Vincent St-Amour
a1fab6ec06 Give more meaningful names to conditional contract forms. 2011-05-18 17:09:45 -04:00
Eric Dobson
44f377bcd4 Correctly instantiate poly-dotted functions with zero arguments.
Closes PR 11776. Closes PR 11545.
2011-05-03 18:20:31 -04:00
Sam Tobin-Hochstadt
51083dbce6 Remove useless requires. 2011-04-20 09:41:42 -04:00
Ryan Culpepper
7828a7bfa7 moved unstable/{location,srcloc} to syntax collection
fixed bugs in unstable/wrapc
2011-04-08 08:25:22 -06:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
Vincent St-Amour
88fac43d55 Add an Exact-Number type. 2011-03-18 10:25:20 -04:00
Vincent St-Amour
fe8f1c3591 Fix contract. 2011-03-17 13:10:19 -04:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Vincent St-Amour
d65438c9ea Remove some legacy bindings. 2011-01-31 16:39:19 -05:00
Vincent St-Amour
0f0a2625c6 Fix typechecking of single flonum literals, now that they are enabled by default. 2011-01-31 16:39:18 -05:00