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
Asumu Takikawa
8ef86fb139
Fix type->contract for recursive Name types
...
Certain mutually recursive Name types would generate
contracts that infinite loop when triggered.
original commit: 663e96afd6437bbb26866be1e8fbd9dfeb59582f
2014-03-15 16:35:41 -04:00
Eric Dobson
3c2e254693
Fix implied-atomic to work on -top and -bot.
...
original commit: 9e2787c0cf6eb3e45256ad31075978d3955ef34c
2014-03-14 18:55:24 -07:00
Eric Dobson
63bb9f5b5b
Initial version of filter tests.
...
original commit: f7536ebfbd38e873039a98df000c347e5b10931c
2014-03-14 18:55:23 -07:00
Eric Dobson
95805cd035
Make check-below-tests check more things and give more debug info.
...
original commit: d9aeabdaec2e994df01d1434b05425f6ae7706cc
2014-03-14 18:22:31 -07:00
Asumu Takikawa
63c0e4c88c
Adjust error messages for send typechecking
...
original commit: 2344a7683dfe74380f28bdcb852e9a0b83bab07a
2014-03-14 14:19:06 -04:00
Asumu Takikawa
2ecee7be45
Fix class typechecking for Name types
...
Fixed check-class-unit and get-field for the addition
of recursive Name types.
original commit: 32c78065a58633de2b884bb8d81b81ea86066aa8
2014-03-14 13:18:59 -04:00
Asumu Takikawa
b80597a56d
Support rest args for TR class methods
...
original commit: 4439c9df0d5a367399bb92107954c9b47338c8af
2014-03-14 11:19:01 -04:00
Asumu Takikawa
f46e98bce9
Raise a better message for ctc generation in TR
...
This provides a better explanation of contract generation
failures for module-provided bindings.
original commit: 30b60f8c4369972f8fb98732149bd99ce8d9fd98
2014-03-14 10:05:54 -04:00
Eric Dobson
c806b3e35c
Make check-below only accept arguments of the same kind.
...
original commit: 5600213a5a79d1106016f183d767cc17eee72d2b
2014-03-13 21:15:45 -07:00
Eric Dobson
dce4dd4ae9
Make users of check-below call it with same kind arguments.
...
original commit: 058b67946db65bf438db441db8639c6dc3fc5734
2014-03-13 18:50:36 -07:00
Eric Dobson
ccf7d79d27
Fix tc-results->values and filter-tc-results to handle polydots.
...
original commit: 88af96f19a340e4d6ac72a736456a3ec91354bc4
2014-03-12 19:05:19 -07:00
Asumu Takikawa
ef84da32f6
Change error messages for two TR unit tests
...
I'm not sure why, but these tests seem to emit one of two different
errors depending on the machine it's run on (hence the failure in
DrDr). For the short term, I've set the regular expression to allow
either of them.
original commit: e2e0ab748fdd99be105160e9a9706da970f0c5a2
2014-03-12 10:01:49 -04:00
Asumu Takikawa
fc00888943
Correctly check letrec-values clauses with no vars
...
Should unbreak the build, my apologies to bisecters
original commit: 36c3861494821c9efb1db9df278c77663e1ddb13
2014-03-12 01:18:16 -04:00