Commit Graph

3529 Commits

Author SHA1 Message Date
Eric Dobson
4e4fc660c7 Remove tc/lambda/check.
original commit: 0feefd347edfd7ce71045a63b57bf21a8bf97aba
2014-06-09 19:51:10 -07:00
Eric Dobson
c8d2cfd42b Remove tc/app/check.
original commit: ff1a852caf93cc9bc6150e319a97ac087477d242
2014-06-09 19:51:10 -07:00
Eric Dobson
a1bd25db1e Remove tc-body, and 0 arg case in tc-body/check.
original commit: d683ef2342a77fca0a657869ff7b09a2d77982d9
2014-06-09 19:51:09 -07:00
Eric Dobson
e030ea072f Remove conditional tc-expr/check splits that no longer need to exist.
original commit: 32db0e2ff72808fbb592e522d0cb305f3904c07a
2014-06-09 19:51:09 -07:00
Eric Dobson
3cf53c81ac Make tc-expr the same implementation as tc-expr/check.
original commit: a8bc079c4b419174d87cf9e2952ce264d40d74f5
2014-06-09 19:51:09 -07:00
Asumu Takikawa
e121d6500a Adjust TR error message for consistency
The non-productive type check in type parsing and in type
alias setup should produce the same failure messages.

original commit: 5431ddb6c1559f9dc6428b07d1bf340f0fd82759
2014-06-09 13:57:26 -04:00
Asumu Takikawa
022378369a Disallow non-productive PolyRow types
Closes PR 14554

original commit: 4ee5f3f653cea26dd01a7fc5bd9d707ef1581ce4
2014-06-09 13:55:58 -04:00
Asumu Takikawa
e79a3903b5 Fix printing for certain list types with a mu var
Closes PR 14552

original commit: bbc6a6b42d20c882cb4c06b9ea6470793a3905c3
2014-06-09 13:38:20 -04:00
Asumu Takikawa
dfa444cf5b Don't lose syntax locations for TR define
Closes PR 14544

original commit: ca8d8346b6d6f99338f1b325cf8f1b412ccefd87
2014-06-05 11:22:32 -04:00
Eric Dobson
1fa2b759e3 Correctly combine or filters in combine-props.
Closes PR 14534.

original commit: 48ac219d6fa56165fa7641eca8d74f30d609781c
2014-06-02 22:54:00 -07:00
Matthew Flatt
cb492b9981 rackunit/docs-complete: move to the "racket-index" package
Modules are not supposed to move to different packages, anymore, so
I'm breaking a rule. The problem is that having `rackunit/docs-complete`
in "scribble-lib" made "scribble-lib" depend on "racket-index", and
that's an undesirable dependency. (Installing Scribble shouldn't
force you to have Racket documentation.) I should have noticed
the problem when I moved `setup/xref` to "racket-index", but I missed
it.

As far as I can tell, there's only one package on pkgs.racket-lang.org
that isn't in the main repository and uses `rackunit/docs-index`. The
package doesn't correctly declare its dependencies, anyway.

original commit: d33c2252e10dbeb22e49c85f03707345e2756ce5
2014-06-02 12:34:12 +01:00
Eric Dobson
085b36180b Fix TR unit tests.
Make new tests actually run as part of the unit tests.
Make them not broken.
Fix broken package dependencies.

original commit: 1d64e37c3b083a65db67e79865c09d24b4316855
2014-06-01 10:14:37 -07:00
Eric Dobson
4c6cf07310 Add more abbreviations to init-envs.
Make List: matcher require being a Type.

original commit: e4e0ec483f954612184d83262aeddca7eb2639f0
2014-05-31 17:46:25 -07:00
Eric Dobson
c1c7f04f3c Fix broken match clause for accessors.
original commit: 314584d05ecd64d87038b64b6f2f88abea1e3910
2014-05-31 15:33:55 -07:00
Eric Dobson
a5b0975a39 Simplify 8 cases of filter printing to 2.
original commit: b8f618b57dcfafd185bf9d6a2b170277f33e9434
2014-05-31 14:34:34 -07:00
Eric Dobson
f222288f1b Add checks to asym filter patch to match symmetric case.
original commit: 205aeaeca326c7baf779a15556929edc9019ab59
2014-05-31 14:34:34 -07:00
Eric Dobson
ac571641ba Remove extra default path arg to -filter calls.
original commit: 81804760c5a3015af9cca5ede1820c6e4f5cef23
2014-05-31 14:34:34 -07:00
Eric Dobson
632338c231 Make inference on (list a ..) work better.
original commit: e55f39dccd2505d36b31372c1e0587ca78478055
2014-05-31 10:20:38 -07:00
Eric Dobson
2f08ac11d9 Fuse loops in promote-demote.
original commit: d2d9b2cce35548c46b39dd30facd417264fce168
2014-05-28 08:48:07 -07:00
Eric Dobson
c8e74de12c Remove #{id : Type} annotations from unit tests.
They don't work if the code is compiled and do if it isn't, which causes
interesting test case failures.

original commit: 48de8a43c0e3978a34057beae30d676a84436c8e
2014-05-27 22:06:18 -07:00
Eric Dobson
0266066770 Move the unconditional prop addition to with-lexical-env/extend-props.
original commit: 9b42fca050a8d1cee0e8cd17610ba42b45aee05f
2014-05-26 18:59:05 -07:00
Eric Dobson
d69316ff91 Make tc-let add unconditional prop.
original commit: 13bcc61fd4631072294902bba97698bb9c6d5465
2014-05-26 18:59:04 -07:00
Eric Dobson
22f507dc18 Make tc-if not manage raw prop-envs.
original commit: daf087c8013bcba465fe0f0662529edda7fef1cf
2014-05-26 18:59:04 -07:00
Eric Dobson
eabe5a6a33 Make tc-if use add-unconditional-prop.
original commit: fd2f1a8f22e503ba1321adbbdcba35a70c00faf2
2014-05-26 18:59:04 -07:00
Eric Dobson
f44205f710 Simplify how we add props after tc-if.
original commit: 62b41b39e76cc1eeef81f63d6dd28a37dd145ed8
2014-05-26 18:59:04 -07:00
Eric Dobson
d802e520b6 Add with-lexical-env/extend-props.
original commit: 1dc33167c221d5369bb7e2ab2500de59465b361d
2014-05-26 18:59:03 -07:00
Eric Dobson
ae09b4f314 Make implied-atomic work on AndFilters as well.
original commit: 06f08b9e3041045c9207502307557fcf6767cce7
2014-05-26 18:59:03 -07:00
Eric Dobson
9313645033 Cleanup combine-props.
original commit: 309a3d706be309b3763e74d8f8e54e238c81a525
2014-05-26 18:13:52 -07:00
Eric Dobson
74ca9b9fd4 Cleanup env+.
original commit: 77255ba6d5c86a395701d6c58c37af15079f7e95
2014-05-26 18:13:52 -07:00
Eric Dobson
3637f691ef Make update do actual structural recursion over the path.
original commit: 0d85aa79a380758c9be14a328a885547fdcb0040
2014-05-26 18:13:52 -07:00
Eric Dobson
8ec892abba Delete case in tc-expr which is not needed.
original commit: 3f5f4c9a54e48c0562112ea77cc27a7b5f1bbec9
2014-05-26 18:13:52 -07:00
Eric Dobson
f48adc31a3 Fix name escape in tc/rec-lambda/check.
original commit: 684bde6c6e3e5922d6c3779384df3e06032f8c9c
2014-05-26 18:13:52 -07:00
Eric Dobson
3d04add5d4 Cleanup function type creation in tc/rec-lambda/check;
original commit: ebd7f8dc92613e8d9d561e650db982a33c5c6955
2014-05-26 18:13:52 -07:00
Eric Dobson
6ec3879afa Move replace-names from tc-metafunctions to tc-subst.
original commit: 70a70166d1b2fcae0a841208217b1815db124911
2014-05-26 17:18:34 -07:00
Eric Dobson
185697e6ee Make a subst-tc-results.
original commit: bdbdac3b67fa424bd3c57ec9f344c1fddf22ba56
2014-05-26 17:18:34 -07:00
Eric Dobson
209fc58db0 Make tc-literal tests actually include all of the tests.
original commit: 7696b8ca71e24b138376d300e4fa0536caa06421
2014-05-26 17:06:27 -07:00
Eric Dobson
b85f374840 Minor cleanup on app of list.
original commit: 755f4835beec38af09a7fb229af7d48bb247a54d
2014-05-26 17:06:27 -07:00
Eric Dobson
231026ac8e Fix typechecking of andmap/ormap on dotted lists.
original commit: c60b3d8b03cc095796f634c81ba04567bf192ec3
2014-05-26 17:06:27 -07:00
Eric Dobson
f97ef41153 Fix printing of AnyValues with filters.
original commit: 817ec2238a96319985293f3743cc5cdb781c6ede
2014-05-26 12:01:33 -07:00
Eric Dobson
cece2ccc77 Add support for tc-any-results having a filter.
original commit: 62c4f5d1fbb4f14d77a7e3c1b1020d53853060f4
2014-05-26 11:43:48 -07:00
Eric Dobson
e0ca6b99d9 Add filter to AnyValues.
original commit: fac2f05a6d4995a9946789bafd322899a1e8484d
2014-05-26 11:43:48 -07:00
Eric Dobson
fca7a3b26f Specialize ignore-some in expression position.
We now do not return -Bottom from ignore-some, because it has
issues with improved handling of filters in check-below.

original commit: 0c5c6f50c1a794d79cdea8b76133727aa93e0422
2014-05-26 11:43:48 -07:00
Eric Dobson
d8f090b255 Fix contract breakage in TR.
original commit: da654f09bcc6e534e0123b1b7b4572b4c9cbb8d9
2014-05-26 09:57:05 -07:00
Eric Dobson
ff23359f9d Make ... <: * case more correct.
original commit: ff8ed078d55637c5ba24ffd16731f7e799d11093
2014-05-26 08:22:35 -07:00
Eric Dobson
f9352fa2a4 Simplify the * <: ... and ... <: * cases in cgen/seq.
This allows move-vars+rest-to-dmap to be saner, and thus clean up mover.

original commit: 6b771a8c258d5be0b18db9309184cecdbe0a22a5
2014-05-26 08:22:35 -07:00
Eric Dobson
5fe32e573d Inline some local variables in cgen/seq.
original commit: f321098ccea6390954fa9915a53535eb9b09d1cf
2014-05-26 08:22:34 -07:00
Eric Dobson
79bf302620 Remove top-arr.
original commit: f6588df2204a76b509678838a43b7be260d6d344
2014-05-26 08:22:12 -07:00
Eric Dobson
4f558bdda5 Add performance hint to var-promote.
original commit: 01b2b8376e6c0edaa181ecbe96599dc4e41f3a18
2014-05-26 08:13:17 -07:00
Eric Dobson
163836d96d Make initial version of structural type recursion, and use it.
original commit: 9efa4af051ee32209d9f45d24c7c682f83efb963
2014-05-26 08:13:16 -07:00
Eric Dobson
cb79a40342 Merge var-promote and var-demote.
original commit: cadc2dcb8f7960eb581d1b8d45dfec0fac08311d
2014-05-26 08:13:16 -07:00