Commit Graph

593 Commits

Author SHA1 Message Date
Eric Dobson
f357d4c0ce Fix typechecking of call-with-values. Closes PR11709.
original commit: 0b761781380ba23a6e363798ad39049a8d4e6eb6
2011-07-05 11:25:10 -04:00
Eric Dobson
1c0f8a6df8 Add types for kernel struct constructors.
original commit: 046d4769704809840c3850b501ec378cdbcdf7e7
2011-07-05 11:25:10 -04:00
Eli Barzilay
f07f04b81d ".ss" -> ".rkt" scan done.
original commit: 3157955d40f89d83fb3d5fa7a2f20639cda69579
2011-07-02 10:37:53 -04:00
Eric Dobson
27265fe60e Don't export required bindings with all-defined-out and require/typed.
Closes PR11425.

original commit: 44396383088e8bcebd33f6ee92013c6ae9751685
2011-07-01 16:06:15 -04:00
Vincent St-Amour
8a0e9249ff Add a test case for struct-based match expanders.
Closes PR11617.

Using the taint system, the bug is fixed.

original commit: cd34760a3307839ef6bf08dce25a71fb87f41c97
2011-06-30 14:21:52 -04:00
Eric Dobson
45314ee84b Changed order type annotations are processed. Closes PR 11560.
original commit: e3c4955ac9f7fb10f1281bc93bd08fe594bc728d
2011-06-30 14:01:47 -04:00
Vincent St-Amour
0fa93ae065 Remove trailing whitespace.
original commit: 43efe6adf01c5ee7f7b63eebd46c85ce38eff97b
2011-06-30 14:01:47 -04:00
Eric Dobson
e8448f596c Changed order of imports in require/typed to order written.
Closes PR11193.

original commit: b5e451575208e242631b25e85ffef35112903d0d
2011-06-30 14:01:47 -04:00
Eric Dobson
b5c5ad7258 Changed define-predicate to use recursive-contract. Closes PR 10939.
Closes PR11504.

original commit: 76a1112df03083098dc5aaff951d9e768e5af1b6
2011-06-30 14:01:47 -04:00
Eric Dobson
c8c1cdc655 Make TR provided struc-infos act like constructors. Closes PR11578.
Closes PR11866.

original commit: d0cfebd5b464076bbfa136861ffbaaae2d400620
2011-06-29 17:38:05 -04:00
Eric Dobson
00e5ce0357 Added legacy support for require/typed and require-typed-struct.
Added FIXME for duplicated code.

original commit: e87ff268c2b8e19904c396640598ca00df475158
2011-06-29 17:38:05 -04:00
Eric Dobson
c3ca0bbda9 Cleaned up define-typed-struct-internal and require/typed.
Also fixed a test for require/typed.

original commit: ecaf5f40a0220b06fdf747e3baefe6d05ae69cf0
2011-06-29 17:38:05 -04:00
Eric Dobson
a5d5be4f95 Added support for configurable constructor names in require/typed.
Closes PR11171. Closes PR11194. Closes PR11314.

original commit: f3692eae29d7b0582eb90cc4768786688b8ca438
2011-06-29 17:38:05 -04:00
Eli Barzilay
52bad5959a A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Eric Dobson
56e83287e8 Make vector-immutable work like vector. Closes PR 11535.
original commit: a14723f27a61ce262b0024db1777fa2db7f94c8b
2011-06-27 11:35:48 -04:00
Sam Tobin-Hochstadt
079a86457d Rename to follow TR naming conventions.
original commit: f6be5447dd7beb2a3bc769c35c9d3d5f8d2baf61
2011-06-24 20:20:53 -04:00
Eric Dobson
9252ba3bc3 TR: Added tests for new identifiers and export type names.
original commit: 0f0b9ebc7a01df4e4d7c079040b0ab0ddaaa05a9
2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
b92dbc8079 Fix rackunit types to be Any', not Void'.
original commit: 19a7a370335413c280646cbc0653aa111f09879b
2011-06-24 18:10:25 -04:00
Eric Dobson
74ac6a4d22 Correctly recreate Scopes. Closes PR 10552. Closes PR 11532.
original commit: ce0f542028e9dfe5b18964223af8dad32ce04f57
2011-06-24 16:46:43 -04:00
Eric Dobson
98155d2366 Corrects types for typed/rackunit. Closes PR 11912.
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>

original commit: d0d748c55a3516f6f1911c437a0988fd6474061c
2011-06-23 12:19:56 -04:00
Eric Dobson
76edce6f07 Change Module-Path to be union type instead of a Base type. Closes PR 11963.
original commit: 42415575438236d0fcd900ce1ab854ed8aa256e0
2011-06-23 10:05:36 -04:00
Sam Tobin-Hochstadt
8c158b5ede Add test for PR 10794.
original commit: 0df00e31d53ceb8da8c1f1e00e3d638b80e7ce9f
2011-06-22 17:36:31 -04:00
Asumu Takikawa
e9d31e83fb Add negate (racket/function) to TR
original commit: 122aed89700b80eb9c9acde8750175cc21eda6b4
2011-06-22 16:04:19 -04:00
Asumu Takikawa
529b3cdc2b TR test for racket/function
original commit: cee2509476815e57b3e1e689a677713df8077737
2011-06-22 16:04:19 -04:00
Eric Dobson
3919eabd09 TR: Added more tests for recently typed identifiers.
original commit: 16ee3376f759bf43538e7988b53dc82c399bdec8
2011-06-22 15:17:58 -04:00
Eric Dobson
9ad6a1d6b3 Added tests for parameterizations and thread cells.
original commit: c2a473cba2d789fd96c5f70e72044fca0e7e9a43
2011-06-22 15:17:57 -04:00
Eric Dobson
5ddf7d06e2 TR: Added some syntax and set tests.
original commit: f5a7e73be82d0dcac4b7627fc81c69a8d49bf1e3
2011-06-22 15:17:57 -04:00
Eric Dobson
f1234fc2e1 Added tests for filesystem operations, and added public type names.
original commit: f5517367e5413f089f402c85bc5ae472b3d9d314
2011-06-22 15:17:57 -04:00
Sam Tobin-Hochstadt
0c1aa7267c Remove `SomeSystemPath'.
original commit: f195b3c68903bfacb7cfea278162ed0651984f12
2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
114e2d3866 Rename SomeSystemPath to `Path-For-Some-System'
original commit: 9be4b16703b89b07add3974ecb74dc6888337fda
2011-06-21 15:34:50 -04:00
Eric Dobson
03900fe84f Fixes TR regexp regression. Closes PR11991.
original commit: 0f6fde5003c1594c468b82df8cf64a2ce17f65f5
2011-06-21 15:34:50 -04:00
Vincent St-Amour
367e703ca8 Update test format.
original commit: 88dafca69fae596763037c22f9557e5f875de87c
2011-06-17 18:18:04 -04:00
Vincent St-Amour
77e9234c06 Display irritants nicely.
original commit: 26b909744cb2697c00bf09638871c7688d328657
2011-06-17 18:18:04 -04:00
Vincent St-Amour
261821834f Don't merge missed optimizations repeatedly, which artificially increases badness.
original commit: e8dcee732e139885fe9eb8348e33799ff3a659c6
2011-06-17 18:18:04 -04:00
Vincent St-Amour
467f00562c Display badness of missed optimizations.
original commit: fc08b4d401b446a6f69818e2e4b42db1e48f2422
2011-06-17 18:18:04 -04:00
Vincent St-Amour
dadfa4b62d Use write instead of display for syntax in logs.
original commit: 9dbca39cfe20876b131592871670f5567471fcf7
2011-06-17 18:18:04 -04:00
Vincent St-Amour
f2c1f3c7aa Don't keep useless return values around.
original commit: dda1b1c8804dcc833082d02a59c99ae77a15ab26
2011-06-17 18:18:04 -04:00
Vincent St-Amour
51dd8b0469 Do duplicate detection at the expanded syntax level, instead of the source level.
original commit: 847e4b2e233d95d0a3fff1f8ceaf6bc62ea31e05
2011-06-17 18:18:04 -04:00
Vincent St-Amour
151ce60dc1 Adapt the log update script to work on specific files.
original commit: 866225b65977a7f5bedcfaccd8d9aabc56e1fff7
2011-06-17 18:18:04 -04:00
Vincent St-Amour
205f0882a5 Report opts and missed opts in terms of the original programs, not in terms of expanded code.
original commit: fddf18953094f1a98fe8b4afe0a95dd1500f5194
2011-06-17 18:18:04 -04:00
Vincent St-Amour
56279151a7 Add script to update test files to new log formats.
original commit: fc25b43293a88967825c9e9b70f9aca89070e0dc
2011-06-17 18:18:03 -04:00
Vincent St-Amour
4180449ead Specify opt or missed opt in the TR log format.
original commit: 86efbc83968ddd0486dea493830f409c05b52e5e
2011-06-17 18:18:03 -04:00
Vincent St-Amour
d4a251d72e Fix test log to use new format.
original commit: 9f78a926137698280508ef4067005a558167d4ab
2011-06-17 18:18:03 -04:00
Vincent St-Amour
56f8d7e069 Handle the case where we would need to merge with multiple children at once.
original commit: 1a2080fc9708f49c0dc872c92266b24b4bbc42c2
2011-06-17 18:18:02 -04:00
Vincent St-Amour
d2d2432b1d First attempt at handling missed optimization cascades.
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.

This works in some cases, but fails in others.

original commit: 8d2f66faa6e77376e04827cd56be440325d77a29
2011-06-17 18:18:02 -04:00
Vincent St-Amour
2151a7edc0 Put logging code in its own file.
original commit: 4c31b085546f5e4c6f20982b805fcebd6c6bb5ba
2011-06-17 18:18:02 -04:00
Vincent St-Amour
4af09c09bc Have multiple irritants for missed optimizations.
original commit: 6b5095df2de13287ad85f8309c84a1c966632eac
2011-06-17 18:18:02 -04:00
Vincent St-Amour
f808b49551 Change log message to reflect new behavior.
original commit: cb706aab9c8ade7b929f7aa9655fe3d302acc67e
2011-06-17 18:18:02 -04:00
Vincent St-Amour
db610d44eb Remove useless irritant.
original commit: f547b99ed510d34a8f738c4f255757bff6ae56f6
2011-06-17 18:18:02 -04:00
Vincent St-Amour
b5f2771096 Swap miss region and irritant.
original commit: 9528f63cf0bd37bc8b871adaede5c2b5f27c0683
2011-06-17 18:18:02 -04:00