Vincent St-Amour
fb70969f1a
Add single flonums to TR random testing.
...
original commit: 4c19f273cd785929ef84d6c2020ffd3115fcb387
2014-04-22 17:24:34 -04:00
Vincent St-Amour
d0f6cac951
Consider underflow in float conversion functions.
...
Closes PR14462.
original commit: a39b89bb7dae491f779fbcfa51ea0105c3b46c9a
2014-04-22 17:16:50 -04:00
Vincent St-Amour
42ee5977b6
Reminder to add optimizations for extflonums.
...
original commit: 1d50afca0cc73435a8e1860410aa3497a46fb022
2014-04-22 17:16:50 -04:00
Neil Toronto
aebf0385e4
Added ExtFlonum (and subtypes) and ExtFlVector to the base type environment
...
original commit: 85deab7cb83fd7010b3310f74eb397a4a2be50e1
2014-04-22 10:45:40 -06:00
Eric Dobson
04482d9cc2
Add contract enforcing expected values don't get returned.
...
original commit: 67805b9f046bfba716d04c3f7395b115250be7d6
2014-04-22 08:57:01 -07:00
Sam Tobin-Hochstadt
404fceb7d6
Fix definition of defined?
.
...
original commit: d47c85be22f5c55149a458c8940fa53567b241b7
2014-04-22 09:57:43 -04:00
Eric Dobson
039db05530
Fix case lambda to only check cases with arities that haven't been covered yet.
...
Closes PR 14459.
original commit: 00e05020d8140e9ea8beee8ab87f7c0bee2dcd75
2014-04-21 22:54:36 -07:00
Eric Dobson
5cffd676b3
Fix broken case in case-lambda.
...
original commit: 2613994ca7de79fead425b376f9a12ee3f54a763
2014-04-21 22:54:35 -07:00
Eric Dobson
55f79f9403
Fix removed require.
...
original commit: fdbe0d3f275a619c4c232d0a428dfa843d363de5
2014-04-21 22:54:35 -07:00
Matthew Flatt
9c58e1e8cd
fix taint-transparent syntax to lose lexical context
...
When submodules were introduced, the handling of taint-transparent
syntax changed to keep its lexical context. Restore the original
behavior, which is necessary to protect bindings, and fix taint
handling on submodules.
original commit: 4e3ff69798b4d1037fd865fa7715a2e77dd7a9ba
2014-04-20 20:20:33 -06:00
Asumu Takikawa
2b3e3d11d5
Improve code for checking init args for TR classes
...
original commit: b2f9bf6e9eed9c1e71923225adb5340046c725b4
2014-04-19 00:08:28 -04:00
Asumu Takikawa
3e9cb6c332
Adjust TR class error messages
...
Use the new error message format for most cases.
Convert some internal errors to use int-err.
original commit: 39aacf8239523a7eb45b307d9fd4bb0b45babc10
2014-04-19 00:08:28 -04:00
Asumu Takikawa
12e85ba9b6
Improve source location tracking for TR classes
...
Closes PR 14400
original commit: e3349674a64571793accb7ee83fd3865baab0e20
2014-04-19 00:08:28 -04:00
Asumu Takikawa
8e2a45002d
Fix typecheck-fail
in TR
...
Closes PR 14449
original commit: 9e7b013a7d61dabe48785377f2e5f39f04def90b
2014-04-18 11:15:35 -04:00
Asumu Takikawa
8a4093f154
More TR class adjustments for expansion changes
...
original commit: 0ce0abb2c2a003872961be56fb24f290e2e3f023
2014-04-17 15:34:58 -04:00
Matthew Flatt
bdc9416c8a
make assignment-before-initialization an error
...
Recent changes made use-before-initialization an error for
`letrec` bindings, `class` fields, and `unit` definitions.
Now, assignment-before-initialization is also an error.
original commit: 22b48e03c84305068c76881c8b0ab0d25d9273de
2014-04-17 06:37:15 -06:00
Asumu Takikawa
3b079c5c86
Minor fix for TR docs for struct
...
Please merge to v6.0.1
original commit: 4d7703770f3a2c139091893badb0768044fcb956
2014-04-16 17:48:08 -04:00
Asumu Takikawa
98af937641
Fix TR reference docs for for
...
Please merge to v6.0.1
original commit: e3f7aa4df200bf6250adb02d1ba8c547639960cb
2014-04-16 17:30:19 -04:00
Asumu Takikawa
d31088b6cb
Mark class support as experimental in the TR docs
...
Please merge to v6.0.1
original commit: d6a3d27e54f778c29e46831b48e63d1f90029d05
2014-04-16 14:58:48 -04:00
Asumu Takikawa
34872124d5
Fix TR class support for new class expansion
...
Also add a type for `check-not-unsafe-undefined` which shows
up in the expanded code now.
original commit: 9aaaf98b321d3d39dc19a4a781c528b879e9a7a5
2014-04-15 21:18:04 -04:00
Matthew Flatt
6e17926ba7
reduce racket/undefined
to just undefined
...
original commit: 4c947f188dd2701ccca7a8dc2c8146647c9eba57
2014-04-15 15:06:28 -06:00
Claire Alvis
8e300317ee
all necessary changes to check references to uninitialized letrec variables
...
includes a new pass, letrec_check, two new primitives, and
changes to packages that grabbed the letrec undefined value
original commit: 72c958df628690ebc52a626d35cd4edcab0c7089
2014-04-15 15:03:10 -06:00
Asumu Takikawa
0fa48211d8
Use racket/base instead of racket in TR
...
original commit: ea8781e444873fe5adcee769f90f0015a8584232
2014-04-14 00:56:15 -04:00
Asumu Takikawa
b9998344a6
Remove several unnecessary TR requires
...
original commit: e4a7c83c5658906b055bcc6415eb51d35055142e
2014-04-14 00:56:14 -04:00
Asumu Takikawa
0ca3e003cb
Reduce dependencies of TR's base-contracted.rkt
...
This reduces the dependencies of typed/racket/base. Avoid
bringing in type environment dependencies by manually constructing
a #%type-decl submodule.
original commit: 08bec9de9cc7a7bb93ff014ab1cab3287d9355d0
2014-04-13 12:38:41 -04:00
Vincent St-Amour
addb3efe8c
Fix type of sequence-filter.
...
original commit: 6080e20ddf3f168776ff56ede0dfe2095b13d649
2014-04-11 12:35:13 -04:00
Asumu Takikawa
0739eea863
Fix types in typed/file/gif
...
Thanks to WarGrey Gyoudmon Ju for reporting the bug
Please merge to v6.0.1
original commit: 8c1206c06303b5ee3635bec2c04c6b8b594fd2ea
2014-04-08 22:45:47 -04:00
Asumu Takikawa
527a0cb935
Fix internal-external name mapping for TR classes
...
Please merge to v6.0.1
original commit: a11144c8f85d0d0c788e8139c22ed663dd7f5597
2014-04-08 16:05:10 -04:00
Asumu Takikawa
c4b6f2d0ea
Fix identifier-binding
docs and types
...
Closes PR 14262
Please merge to v6.0.1
original commit: 5eb1110040f73f21b68329c90fa3eee369dc5357
2014-04-08 16:05:10 -04:00
Asumu Takikawa
61396f79ae
Show a REPL type printing example in the TR guide
...
Please merge to v6.0.1
original commit: 52cc507aa5dc4e8825c1dd3f8ad5516f969b2732
2014-04-08 16:05:10 -04:00
Vincent St-Amour
fbc5326ae0
Preserve source locations.
...
original commit: 81e357d3aea4fa3438f67d5bdb3ef7503804ce94
2014-04-08 15:31:22 -04:00
Vincent St-Amour
34303c8300
Allow functions with rest args in with-handlers.
...
original commit: d713a08cb596cad60cdf28f31b1ef34efe385731
2014-04-08 11:14:22 -04:00
Asumu Takikawa
90266f4b80
Make parse-type errors align with new Racket style
...
original commit: 5055a61a564842f3d62d9a8ca2fe125f01d6a58c
2014-04-07 16:23:41 -04:00
Asumu Takikawa
dc3ef29b18
Catch #:row-var parsing problems in TR
...
Closes PR 14434
original commit: e692edc180be26c92726dffd1a595d4db3e25560
2014-04-07 16:23:41 -04:00
Matthew Flatt
79ba079b63
fix package dependencies of "typed-racket-doc"
...
original commit: bd1dafdd1709087065431d9a212c8fbba5153d84
2014-04-05 08:04:31 -06:00
Eric Dobson
7ceb48aa5a
Remove a special case for NoFilter/NoObject in check below.
...
original commit: c4f497bf2b01c974b81cb56a1d845a6132081e99
2014-04-04 21:25:49 -07:00
Eric Dobson
0dee5c804f
Add support for poly dotted types below tc-any-results.
...
original commit: beb981e2af31b0ad6e9ca51e2a29f54a755ae8ad
2014-04-04 21:22:32 -07:00
Eric Dobson
bb45c93b71
Add value-mismatch to check-below, and fixup some poly dotted cases.
...
original commit: ec14598ad88574294b00e003aa929478a5b36018
2014-04-04 21:22:32 -07:00
Neil Toronto
8e5b550ee8
Documented typed/untyped-utils
...
original commit: d68786555695ec197ffc3dcd31e783beb36f348e
2014-04-04 19:02:45 -06:00
Vincent St-Amour
58b694fff1
Optimize fx->fl when safe.
...
original commit: a21caa361cd31fa3b6d553d8f7126aa503e6a015
2014-04-04 14:57:02 -04:00
Eric Dobson
56beba63d3
Make it so that handlers lookup arrities other than the first.
...
Fixes current build breakage.
original commit: 6b0676ef2bc697ed39bff52e32dcfa3a9199f3aa
2014-04-03 09:29:33 -07:00
Eric Dobson
06fe71fe1e
Add a bunch of new check below tests.
...
original commit: 87cfce97f9912179bad9c6e8be8339819293f896
2014-04-02 21:45:02 -07:00
Eric Dobson
cf64a7d914
Add contracts to filters.
...
original commit: bddd7a1b53f7df7dbb42d3ebd32993b4c6bc37d9
2014-04-02 20:58:36 -07:00
Eric Dobson
751a9aa46a
Make open-Result not incorrectly close over rest and keyword arguments.
...
original commit: 448c66a7a82a30ddd3f1ad536638b3a0ad5f9c67
2014-04-02 20:58:36 -07:00
Eric Dobson
9f76a941ed
Make exception handlers smarter about opening the result.
...
original commit: d29df205f7bb8347f60c82206b74e3e167e2de24
2014-04-02 20:58:19 -07:00
Eric Dobson
67a3a9ff44
Add some HISTORY lines for TR 6.0.1.
...
original commit: ec77c70b7937fae4e41ba758acec12709c408978
2014-04-01 22:02:15 -07:00
Eric Dobson
4edd8ce157
Use filters when typechecking using tc-body.
...
Closes PR 11920.
original commit: dd8b646b0b3a0fd7905467f275f0f786eac958dd
2014-04-01 21:44:41 -07:00
Eric Dobson
7deea2e51f
Add smart constructors for Result and tc-result.
...
original commit: 4a7dd75ffd3516359558ed54d2ac5b033c331a6d
2014-04-01 21:44:41 -07:00
Asumu Takikawa
e7236bb4d0
Fix TR docs for the addition of typed/racket/class
...
original commit: 636e79d672479b62bddb54f626b504dbeb7b535a
2014-04-01 18:24:46 -04:00
Asumu Takikawa
33f2db5b1f
Real fix for the issue in the math docs
...
Commit 92b0e86ed1cf0270730c004211387b3fdc4b0469 turns
out to have been the wrong approach, because there was no mysterious
performance problem with TR. Instead, TR's `define` expanded to new
code that interacted poorly with a macro used in the math docs.
I've kept the refactoring from that commit because I think it still
makes the code clearer, but I've removed the now extraneous comment.
original commit: 8a93eeb52bd7c98c5a060ca019bdc8f4c5a0b09c
2014-04-01 00:31:10 -04:00