Eric Dobson
6d2bc8c4ea
Make TR work with contracts enabled.
...
original commit: 917fa3aeb7bae505716ad1e6794df6bb5c796edb
2014-03-26 23:33:39 -07:00
Eric Dobson
9a7e34674f
Make tc-error/expr return (ret -Bottom).
...
original commit: ca3411155f4257e890cb2eb52d0ab1896e0199ea
2014-03-26 23:33:39 -07:00
Eric Dobson
a79ba7561d
Replace tc-error/expr with tc-error/delayed where appropriate.
...
original commit: ef98a582cb4ebf582c67244cf170d1c2a3ac1d3d
2014-03-26 23:33:39 -07:00
Vincent St-Amour
dc06d868ed
Make TR random tester more robust against special values.
...
original commit: dd943c8754203a232af704b6a8f70c8242885894
2014-03-26 14:16:36 -04:00
Vincent St-Amour
c23c422e04
Refactor testing grammar.
...
original commit: 35f7a9a0e7913bc1fc16f8f635e381079f58f96c
2014-03-26 14:16:36 -04:00
Eric Dobson
68479c60f8
Add invert-filter and use it in -imp.
...
original commit: a662f72c9ee90969f6e45afa25db26661f5cf59a
2014-03-26 09:15:28 -07:00
Eric Dobson
4311b0b052
Make let correctly implement the TC-Let rule from the paper.
...
original commit: b9e7d087bae3ea5d9a46a426607d4986e7bc189d
2014-03-25 23:07:50 -07:00
Eric Dobson
6864b0fb79
Remove unused clause arguments in tc-let-unit.
...
original commit: 4876d7d320707c3469dd3ae97c5f126187744385
2014-03-25 23:00:27 -07:00
Eric Dobson
d1ed0c066f
Add test case for PR12985.
...
Closes PR 12985.
original commit: 55cb28168e8a54da3bc50a903b541693b4b5a917
2014-03-25 21:25:50 -07:00
Asumu Takikawa
5f15a74891
Avoid a parameter for controlling resolve caching
...
The parameter dereference slowed down type-checking
new-metrics.rkt to about 28s from 16s on DrDr.
Instead of the parameter, explicitly remove items from the
cache during type alias setup.
original commit: 862d58a2f4802e13018b6acb26db7c37842b841a
2014-03-26 00:18:33 -04:00
Eric Dobson
4ca82450a1
Add test case for PR 11747.
...
Closes PR 11747. This was fixed at some point.
original commit: e4716bd68a31f790ab7b0616feb2d4aa63e68300
2014-03-25 19:24:06 -07:00
Eric Dobson
e1851074b7
Fix tc-let for mutable variables.
...
Closes PR 14415.
original commit: b09ced6a0cc085bb0ed38b0bdb210a531a7e645f
2014-03-25 18:52:57 -07:00
Eric Dobson
8005c6be2f
Add support for contracts on non-returning functions with filters.
...
original commit: b67c3272dc34147a907623c9723187952e333ff5
2014-03-25 09:41:57 -07:00
Sam Tobin-Hochstadt
0e02a31e85
Use lazy-require
to avoid dependency for fv
.
...
original commit: fe4d784fc4a77c9de3838e36f9b8e71ef87e279b
2014-03-25 09:16:02 -04:00
Eric Dobson
237aeb761c
Make TR use rest annotations over expected type.
...
Closes PR 10936.
original commit: c67f5f753cadf2b5a4f595b4e4c14264382aea16
2014-03-25 01:16:43 -07:00
Eric Dobson
684601415e
Make -imp simplify more, and use it in more places.
...
Also add filter tests for implication.
original commit: 049057edd9634f9bf9b0c5d1e1b527df130813bf
2014-03-25 00:03:39 -07:00
Eric Dobson
6a4eeea99f
Make Bottom not a special case for tc-any-results.
...
original commit: fcedc4ab59e4d6f21d396cf3ed1979155b75a337
2014-03-24 20:27:54 -07:00
Eric Dobson
82050c3b40
Make -filter and -not-filter do more simplification.
...
original commit: cc377272d666d709687ce330eadad822619d7d84
2014-03-24 00:09:17 -07:00
Eric Dobson
b4e5d4dd47
Remove dead code in tc-metafunctions.
...
original commit: aedf612a069fbfad30479148b2fece4f542f30da
2014-03-23 22:49:27 -07:00
Eric Dobson
da85e3ccf9
Make typecheck tests provide more information.
...
original commit: 240695a4c1391b6e5b895e3e292ff534671ba082
2014-03-23 14:35:36 -07:00
Eric Dobson
a2741ff57b
Fixup rec-lambda contract
...
original commit: ac1d7ea19ea2dada94b15d86352fd2e814ee8e5d
2014-03-22 17:12:30 -07:00
Eric Dobson
bc979afe28
Remove duplicate top-filter empty case.
...
original commit: 94a5f215b17b99467fd836fe1ff3c2eeb30dd8ed
2014-03-21 23:45:47 -07:00
Eric Dobson
da368d9e46
Fix use of expected type of ignore expressions.
...
original commit: ca082c2176ce8bd79e8bb572d7a0a8d2e53b225f
2014-03-21 23:45:47 -07:00
Eric Dobson
df3d7d642b
Fix misuse of expected in tc-send.
...
original commit: 8de32baf28b507db1d834349a8d8289992e447bf
2014-03-21 22:58:45 -07:00
Eric Dobson
aa6c6e96e3
Fix tc-if. Remove dead cases and misuse of expected.
...
original commit: cf713b7030ff147bcd845c0f3d6814d96c8b2c95
2014-03-21 22:58:44 -07:00
Eric Dobson
e97ada3017
Fix expected use in single-value.
...
original commit: 750e408d942a4335ead436a58684a47026625b21
2014-03-21 22:58:44 -07:00
Eric Dobson
76953553f9
Make wcm not misuse the expected results.
...
original commit: 29fb1c60c2e972b6c89f0e12fe6c54316ad274ad
2014-03-21 22:58:44 -07:00
Eric Dobson
f241d2b36b
Make tc-values not misuse expected.
...
original commit: e355539c41958de8fe6a992c5ea603cc3725065f
2014-03-21 22:58:44 -07:00
Eric Dobson
b518da29d3
Change tc-app-lambda to not return bad filters.
...
Makes tc/rec-lambda/check return the actual results, and erase the names of
the values bound by the let.
original commit: 8cf1246fb1d32e1ea4cf1d1df4bfc6c70ae30f46
2014-03-21 22:58:43 -07:00
Eric Dobson
2f3ec59680
Make heterogenous vector typechecking not double typecheck the arguments.
...
original commit: 74f8dc74366a22a3b55f4475bf42c316f705302e
2014-03-21 22:44:45 -07:00
Eric Dobson
ff7f9ce9a2
fixup
...
original commit: a7d6809243cbe4bf88863e369dbd2f654cca0362
2014-03-21 22:01:32 -07:00
Eric Dobson
2d27138aea
Update current-seen
...
original commit: 534f41e729b8136e901359d38c946d8b23f637fb
2014-03-21 22:01:32 -07:00
Eric Dobson
c2fafe90e0
Make version of tc-err that checks return types.
...
original commit: bbec6422840bcd6c11530de441b851801eb4d974
2014-03-21 09:04:49 -07:00
Eric Dobson
c9ed25f192
Make check-below not return no-filter and no-obj.
...
original commit: 43449f820c0786ddd0bf3b150822b3176fa1192d
2014-03-21 08:52:32 -07:00
Eric Dobson
437d07aae9
Make abbreviation for make-Event to match others.
...
original commit: a7f0be7165886f4ac3a6a62942e359a8a76e362a
2014-03-20 21:12:42 -07:00
Eric Dobson
1b2947b765
Add type key to ClassTop.
...
original commit: efd27fa4f7d48add6d42f482fb453e5a5cc0eec0
2014-03-20 20:42:10 -07:00
Eric Dobson
e0403713c6
Simplify typechecking of extend-parameterization.
...
original commit: ca867bc97f3cca1381d331f30cb14f3b9555ffdf
2014-03-20 20:22:17 -07:00
Eric Dobson
296f83ff19
Fix polymorphic class checking.
...
original commit: 9aa7accd89a2a338c03f1c3ac034e7e047135f08
2014-03-20 08:31:55 -07:00
Eric Dobson
8801d6a89a
Fix uses of expected in tc-app-list.
...
original commit: 90556817eb35b7c9b2a7de5297c2d410909380b3
2014-03-19 22:58:37 -07:00
Eric Dobson
d4ef37f2fb
Remove extraneous uses of expected in tc-app-hetero.
...
original commit: c7ef6fc6dd2c8207dc1ad0c5189969dcc4a57ca5
2014-03-19 22:40:06 -07:00
Eric Dobson
0b98038079
Simplify tc-expr testcase.
...
original commit: aa6a04fd46a0402803b6b365ba9b081ae060cfc7
2014-03-19 21:08:31 -07:00
Asumu Takikawa
89b9d28280
Remove unused imports and a useless comment
...
original commit: 6a80de3d5d50c072947a393ed263cd5bd8b791fe
2014-03-19 01:57:08 -04:00
Asumu Takikawa
63841ff35a
Simplify internal data for TR classes with kws
...
Use keywords instead of literals for communicating
internal information from the TR front-end macro to the
back-end.
original commit: 35af4b726497268957c0a065b473ee9acc13758d
2014-03-19 01:57:08 -04:00
Asumu Takikawa
bbb47f45fe
Handle init/init-field order correctly in TR
...
Also handles the case where init and init-field clauses
are interleaved, in which case they need to be interleaved
in the type.
Closes PR 14408
original commit: a21a4a151ace08457a38d2af0664aecf44c30f0a
2014-03-19 01:57:08 -04:00
Asumu Takikawa
d9dca81616
Make TR class tests run successfully on their own
...
Closes PR 14409
original commit: da3bc2f266c31ef912dc4b1e0a6ba77610d6ed9b
2014-03-18 18:01:07 -04:00
Eric Dobson
19ea44afa6
Make tc-l test cases give better error messages.
...
original commit: 83d39a50b86500c26627db76e71f8efc03b2a8e2
2014-03-18 08:19:22 -07:00
Eric Dobson
fd2f8bb33d
Make TR test infrastructure support being run from different directories.
...
original commit: cdb77cd4f030677b0dd400ca5febdf087a378a6a
2014-03-17 09:32:14 -07:00
Eric Dobson
4012a728f4
Add Top and Bot to contradictory and complementary checks.
...
original commit: 04fc5498c85bc36bbaf0ab0bcae947560cd60968
2014-03-16 23:34:06 -07:00
Eric Dobson
08b2e5c7f9
Split opposite? into complementary? and contradictory?
...
original commit: 3313b820bb6ab98551ce134c21c2e1fc53008bf9
2014-03-16 23:34:06 -07:00
Asumu Takikawa
e881466654
Change "Class and units" to "Unsupported features"
...
Also remove classes since they are supported now.
Closes PR 14398
original commit: 4b4ff3d00bdcf7612a4287c0040ed07424d85813
2014-03-15 16:35:41 -04:00