Eric Dobson
40809e768d
WIP on fixing free-variance.
2012-09-27 16:22:22 -04:00
Eric Dobson
e3743b446c
Split adding the struct type and the bindings.
2012-09-27 16:22:22 -04:00
Eric Dobson
40236a3b26
Cleanup define-struct parsing.
2012-09-27 16:22:22 -04:00
Eric Dobson
8ea7502c12
More cleanup of struct type registration.
2012-09-27 16:22:21 -04:00
Eric Dobson
d84391b695
More struct work
2012-09-27 16:22:21 -04:00
Eric Dobson
626f807f00
Removed cert value.
2012-09-27 16:22:21 -04:00
Eric Dobson
8226b6764c
Cleanup of tc-struct and tc-toplevel.
2012-09-27 16:22:21 -04:00
Eric Dobson
d54a573494
Removed unused constructor-return argument.
2012-09-27 16:22:21 -04:00
Eric Dobson
54401182bb
Make tc-struct no longer have long lines.
2012-09-27 16:22:21 -04:00
Eric Dobson
6fe850ce39
Clean up contracts in TR.
2012-09-27 16:22:21 -04:00
Eric Dobson
2a8512ed72
Removed unused fields in Struct
2012-09-27 16:22:21 -04:00
Sam Tobin-Hochstadt
eed93825ab
Track mutable variables across modules.
2012-08-31 17:45:11 -04:00
Sam Tobin-Hochstadt
514c1c5921
Refactoring of new tc-app
.
2012-08-27 14:46:30 -04:00
Eric Dobson
1e15d4496e
Fix errors in tc/app-hetero, cleanup tc/app.
2012-08-27 14:43:45 -04:00
Eric Dobson
5c7ed4a21d
Cleaned up special cases by adding macros to reduce duplication.
2012-08-27 14:43:45 -04:00
Eric Dobson
ba7647d7e2
Moved the rest of special cases to reified syntax classes.
2012-08-27 14:43:45 -04:00
Eric Dobson
dda1d60211
Rough draft of syntax classes for tc-app.
2012-08-27 14:43:45 -04:00
Eric Dobson
020d053e0a
Add back template require.
2012-08-27 14:43:45 -04:00
Eric Dobson
6c2be05749
Removed dependencies from tc-app-hetero.
2012-08-27 14:43:44 -04:00
Eric Dobson
d8c9a581f2
Remove unneeded requires
2012-08-27 14:43:44 -04:00
Eric Dobson
7005f12f0d
Cleanup of tc-app refactor.
2012-08-27 14:43:44 -04:00
Eric Dobson
54d49d0ec1
Moved last special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
67c7e3537b
Moved lambda special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
51671fcec4
Moved eq? et al. special casing out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
73bd7da049
Moved object special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
c2ab21c5a5
Moved keyword special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
6034423472
Split out special cases for apply and values from tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
fcb06ac433
Move TR list special cases to tc-app-list.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
e9f209977b
Fix typechecking of polymorphic structs with parent types.
...
Closes PR12998.
2012-08-22 16:50:49 -04:00
Eric Dobson
6e2e84664d
Move list-set and list-update to unstable/list.
2012-08-20 14:45:50 -04:00
Sam Tobin-Hochstadt
4c0d605c43
Fix typo detected by optimizer.
2012-08-20 13:17:50 -04:00
Eric Dobson
8545f421ab
Add back ignore-some typechecking
2012-08-20 12:39:41 -04:00
Eric Dobson
533920480e
Add tests for make-predicate and cast, also add support for the top-level.
...
Closes PR 12939.
Closes PR 12201.
2012-08-20 12:39:41 -04:00
Eric Dobson
cc52e56fe6
Add way for code to attach typechecks to itself, and implemented make-predicate.
2012-08-20 12:39:40 -04:00
Eric Dobson
bb67e37c49
Make TR's ignore-some property work even if there isn't an internal form.
2012-08-20 12:39:40 -04:00
Eric Dobson
fdd2966cf4
Removed deprecated printf/log.
2012-08-14 16:04:48 -04:00
Sam Tobin-Hochstadt
ade36c36c6
Don't special-case applications with instantiations.
...
Closes PR 13006.
2012-08-14 15:45:47 -04:00
Eric Dobson
9ed360bb5e
Removed convenience.rkt from typed racket.
2012-08-07 15:50:50 -04:00
Eric Dobson
6dbc054e41
Replaced references to abbrev.rkt with convenience.rkt.
...
Skipped this for subtype.rkt, because of a require loop caused by
lazy-require.
2012-08-07 15:50:50 -04:00
Eric Dobson
9dac995e36
Fix things broken by bad rebasing.
2012-07-15 19:21:26 -04:00
Eric Dobson
1df6165e9f
Clean up of typechecking for heterogeneous vectors and structs.
2012-07-15 19:21:26 -04:00
Eric Dobson
dd078dcb95
Clean up of tc-app.rkt.
2012-07-15 19:21:26 -04:00
Eric Dobson
779291c795
Remove special cases for - and fx- in tc-app.rkt.
2012-07-15 19:21:26 -04:00
Eric Dobson
8f98bb6d92
Added cond-check-below
2012-07-15 19:21:26 -04:00
Sam Tobin-Hochstadt
8c659d50ed
Properly handle quoted constants with bad expected types.
...
Closes PR 12874.
2012-07-14 23:06:13 -04:00
Sam Tobin-Hochstadt
ccf79943ab
Fix special case for expected unions of vectors.
...
Closes PR 12845.
2012-07-14 21:56:44 -04:00
Sam Tobin-Hochstadt
2500dad8f1
Don't shortcut simple letrec
forms that aren't lambda
s.
...
Closes PR 12841.
2012-07-14 21:36:56 -04:00
Sam Tobin-Hochstadt
9e097866bf
Vector fixes.
...
- Allow indexing into a VectorTop, with result `Any`.
- Don't use special typing rules for applications when the operator
has an annotation or instantiation.
Closes PR 12887.
Closes PR 12888.
2012-07-14 21:30:26 -04:00
Sam Tobin-Hochstadt
e6697fe43f
Require binding of add-mod
.
2012-07-13 17:10:50 -04:00
Sam Tobin-Hochstadt
396b04eb86
Reduce some dependencies of Typed Racket prims.
2012-07-12 17:41:12 -04:00