Commit Graph

95 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
2a450f220f Store contract in Base type representation.
Fix tests, pattern matches.
Contract is *ignored* in equality testing.

svn: r12227

original commit: 477fa5581e1c9923df030e0eea86a62c367f014f
2008-11-03 23:58:29 +00:00
Sam Tobin-Hochstadt
ea2ca9402c Reorganize initial type definitions to use DSL.
Split special type names into base-types-extra.ss
Fix test require.
Base types are now require in main.ss

svn: r12203

original commit: e69f6e126ad851175ea2ca8ce5f8381d238d1a40
2008-10-31 17:12:16 +00:00
Sam Tobin-Hochstadt
76916addfd Fix types of syntax tests.
Test for double instantiation.

svn: r12164

original commit: acfba8a390e9f5638daad8ff8220da4ffc04f004
2008-10-29 02:15:50 +00:00
Eli Barzilay
e94b7c2f70 TS tests now work, and are not noisy when succeeding
svn: r12119

original commit: 0ccbac0647a6a0dd129d9b7531514cfdca24d58d
2008-10-24 19:50:24 +00:00
Sam Tobin-Hochstadt
fd7442f6ed New test from John, fix tests to work with new code.
svn: r12108

original commit: d93505082f85d471ea62f73ae0c402443d0e15c4
2008-10-23 23:34:00 +00:00
Sam Tobin-Hochstadt
5308710cd1 Fix tests with even?
Add test for struct syntax info.

svn: r12095

original commit: 24c4d0b3fc067072677cd6037657247a315aaccb
2008-10-22 21:07:31 +00:00
Sam Tobin-Hochstadt
a8185f5048 Add new test for better error reporting.
svn: r12082

original commit: c6c4a049ee8b658459b5bf6b1564aced1afdd7b8
2008-10-21 17:58:57 +00:00
Sam Tobin-Hochstadt
557bd01043 add args to error
svn: r12036

original commit: e802682c4df62cdb320b931c09d89db8bbb3d15a
2008-10-14 16:34:14 +00:00
Eli Barzilay
3bf7774adb removed unused leftover file
svn: r11992

original commit: 078ce5f8c6dc17d41c45b9686c5333a0383b0915
2008-10-11 19:17:17 +00:00
Sam Tobin-Hochstadt
5239b94d65 New test for bug found by eli.
svn: r11969

original commit: 665da912c8d1ed05a973a1cb3d2679678a94187b
2008-10-07 21:55:45 +00:00
Sam Tobin-Hochstadt
09ac3ccc7f Fix automated TS tests.
svn: r11953

original commit: c953007f633340d0f32ab6024bb297d64adc0cab
2008-10-06 19:41:30 +00:00
Eli Barzilay
b63bdbb842 oops, revert this line
svn: r11938

original commit: a1bbd7dd3c17b48ddd0cad18baf2a173c33b5066
2008-10-05 03:41:17 +00:00
Eli Barzilay
d14979c7d7 planet-requires moved to tests/typed-scheme/util-tests
svn: r11937

original commit: 2899c1f1cce30f7aacb5032e92c87cf06378722c
2008-10-05 03:40:55 +00:00
Sam Tobin-Hochstadt
e7bc490d7f Fix error in use of tc-error/delayed.
Fix expansion of with-handlers:
add test

svn: r11875

original commit: cd6a37ff4c83505ceef5fbc747235160d03d2aee
2008-09-25 19:35:00 +00:00
Sam Tobin-Hochstadt
a7a6f1451e Add test for assq
svn: r11871

original commit: 23db0aa366a5e85eefc3d8ff188d23ddf40aef82
2008-09-25 14:55:36 +00:00
Sam Tobin-Hochstadt
37649236b9 Make contract error regexps more flexible.
svn: r11855

original commit: 89171c03294a0418fd3009bdd181792568626f04
2008-09-24 19:55:29 +00:00
Sam Tobin-Hochstadt
f98a4bc210 Add kw test
svn: r11850

original commit: 9c08df4789047efd717f92048442abc8a2c26fc0
2008-09-24 14:03:25 +00:00
Sam Tobin-Hochstadt
3cc4ad59bd Remove output redirection.
svn: r11849

original commit: 81b9f638521724dbd1941947233faab1b71d0778
2008-09-24 14:02:20 +00:00
Sam Tobin-Hochstadt
dd509b80f3 Doc changes.
svn: r11732

original commit: 37796884d8599d6411bff0ebbf6fc88e6f6bf285
2008-09-13 22:45:22 +00:00
Sam Tobin-Hochstadt
4d9768895a These tests now pass.
svn: r11067

original commit: 4ba93761313ed8f4c863d6fe05fa66b3aa37cf09
2008-08-04 18:36:38 +00:00
Eli Barzilay
a91efc813e use schemeunit version 2
svn: r11049

original commit: c4f62cfc13f7a09b5cde28cd7f06c8f1596d7605
2008-08-03 14:47:02 +00:00
Sam Tobin-Hochstadt
4f7c6aff6a Fix bug 9649.
svn: r11029

original commit: 28c5e71b01454eda4328a8abceed12f11aaeb865
2008-08-01 20:57:48 +00:00
Sam Tobin-Hochstadt
40dd66120c add test
svn: r11009

original commit: 14b180d5a74018c0b9a2b0c2805045e9f910958a
2008-07-31 19:26:13 +00:00
Sam Tobin-Hochstadt
7beae186ec Dynamic require only requires Schemeunit 2
svn: r11007

original commit: 72a2b55c1395bd82132b4334aecb421993a3f99d
2008-07-31 12:44:25 +00:00
Stevie Strickland
f76a46dc8c Add the forall Unicode symbol as an acceptable replacement for the
All type constructor.

svn: r10797

original commit: 91291ba2bc31e599ec703b5bdd091a6238ce6c71
2008-07-16 17:37:05 +00:00
Stevie Strickland
0278f71d93 I thought I checked this in, but apparently not! Oops.
original commit: 05e54f0dfe619a491d7c337e4562f60f8dbdb7e9
2008-07-13 04:35:54 -04:00
Eli Barzilay
362100e41e * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689

original commit: 7d50e61c7f6831936e13e6af5140db65db18fe1c
2008-07-09 07:18:06 +00:00
Sam Tobin-Hochstadt
dbca8c34e4 Add new test for force/delay.
Fix tests that have errors to have appropriate parameters.

original commit: 717a81283582694de7508f6251e2d880da78d8cc
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
6cd98e19ef Int is not a type
original commit: f2699abe6539da6e44e9a8e19fe481b26a2fa8ec
2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
ae6caf4765 Fix exn-pred handling.
original commit: 41c9a2eaf17825f3af06ae16232cdd827f2864ea
2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
4a8331d129 More failure tests.
original commit: 477cba1b0bdf8595b2c434fe731d29a1d5f5abda
2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
760559a6db Add failure cases.
original commit: 88cbe6387952e9da5e57c46c9977a15702e41b82
2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
cc2b39add3 Since this is now in a different loc, need to fix up the require.
original commit: 2714b3a84ac5c44af205c1a2460146e64d878daa
2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
782a227c35 Adding Sam's test for value dots.
original commit: 3dbf0f7ccc9ed8e2686f577ece004ad718c6982b
2008-07-07 12:54:45 -04:00
Stevie Strickland
19b45b32c4 Example of nested polydots.
original commit: b90e1505d35e695f13cd81417ced00fae709223b
2008-07-01 14:43:44 -04:00
Sam Tobin-Hochstadt
f84545ceef Extra require.
Compile files first.

original commit: bbae1112294a6f92342af3d3ca77a139b3b1c729
2008-07-01 11:27:05 -04:00
Sam Tobin-Hochstadt
02f34aa0fd Check number of type errors.
original commit: 97c5444b88b79c70c1e7625361e6c6ea48284621
2008-06-24 14:05:24 -04:00
Sam Tobin-Hochstadt
d229e895b4 new test
original commit: d7cf0a10c06ea231812e29a3f480ebe6ec7f15de
2008-06-24 11:43:06 -04:00
Stevie Strickland
de9142f4ba Let's also try out the abstracted version of this function.
original commit: e4a0dc82b3753641b0da838e393d7ff453ca37c9
2008-06-21 21:09:03 -04:00
Stevie Strickland
16df4ac649 Remove the bits and pieces used to diagnose the original file, and add the
non-outer-apply versions (that have no reason not to work).

original commit: 48961eb5519b86de55b100fa98ab8c526c9dd699
2008-06-20 17:50:15 -04:00
Stevie Strickland
eb320ad75d Revert last change.
original commit: ce58c4c6763f6ee31604f38660e3165f29096931
2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
9810d79ec5 Remove no-longer-needed inst.
original commit: b2edd9d19754b1297ce02eb04d591ccc7f29e46a
2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
b133c45645 Small changes needed after changes to infer.
original commit: 89cb3a4b09243dcc3bf292cfd682f226e1f2d326
2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
f2b3eadd88 Correct and incorrect uses of dotted identity
original commit: bec9c11fd4d61bceb966b06e5a9517d286af9ca4
2008-06-20 13:07:42 -04:00
Stevie Strickland
8a6adc82da Another change.
original commit: a1f078fb591d87b572864f80b152a9f1e462b10a
2008-06-19 19:12:39 -04:00
Stevie Strickland
20fdbea031 Another example, putting in starred for dots.
original commit: af12feb72972ca9f5c0ae71573be43101c93dc76
2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
ffc0331fa7 New test
original commit: 2bf691991c2c7316cb2f4b30677a7fd424f7e4dc
2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
2e4d817391 More tests!
original commit: e62598ef08326c3a0f20a57c5b8370d0319473a5
2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
8be54e9a3b Add unit test for dotted instantiation, and add version of
fold-left/fold-right that explicitly instantiates the
recursive call.

original commit: 2a7dbe2a80d34abc5097e144b80bda9965546703
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
8e48f42184 Fix test to expecte effects.
Remove useless annotation.

original commit: 36408a32d5526038ecda7c8b05ba844868a0ac5e
2008-06-19 13:23:27 -04:00