Commit Graph

112 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
ee917a791e handle subtyping for varargs functions
svn: r13962

original commit: 147cac076ca959adfb754a778979621a37d5ce73
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
5f9dbd695a remove contract errors
svn: r13959

original commit: f106e885510ee32b88328abc3f34f762b798ba2f
2009-03-04 20:31:46 +00:00
Sam Tobin-Hochstadt
8650f1ade7 most test suites pass
svn: r13958

original commit: 8498619ab87c1b3f01a68cb8f5614ac982be7e4e
2009-03-04 20:26:34 +00:00
Sam Tobin-Hochstadt
eb77d9debc Fix name of Type/c
Fix fold on Result.
Add comments.
New -struct constructor with opt args.
Fix tests to agree with contracts.

svn: r13934

original commit: 9d0ee637c74b0d7705d7b9fc60ee0712cac6b0f9
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
c28b5d1eb7 fix some requires
svn: r13925

original commit: 6271f648c6c3b4b0b7220497f037a2783a5a2ce0
2009-03-03 21:53:02 +00:00
Sam Tobin-Hochstadt
2901393e97 subst-tests now pass
svn: r13923

original commit: 4615d7573e2a3c6313bd35913dc4267db6427723
2009-03-03 20:35:18 +00:00
Jay McCarthy
ae8f85d501 new units, contracts, tests
svn: r13852

original commit: 196ec00f16f726745f98d6d5b026213114d9a5e6
2009-02-26 17:09:26 +00:00
Sam Tobin-Hochstadt
d6efd0acc3 Fix error message when polymorphic inference fails because of expected type.
Add test case.

svn: r13639

original commit: 02efc28dff062b60e0ee5e1c425b438d44ce9c28
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
5312746af4 revert back to regular parse type
svn: r13619

original commit: 204806a13acc831a2c6954c4b9ef00e3239c2e86
2009-02-15 21:57:30 +00:00
Sam Tobin-Hochstadt
3ac20b4930 test fix
svn: r13456

original commit: 2b5413539433b9a0b2a8d615b74b16cdb49c6d95
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
2f4a6079e0 use exact-integer? instead of integer?
use (Listof Any) instead of List

svn: r13437

original commit: 52d711e0bdaddd9f516a63cbc19b7e478fde9c77
2009-02-04 23:06:35 +00:00
Sam Tobin-Hochstadt
5570ebc151 Fix handling of inexact integer literals.
svn: r13294

original commit: 2962c0bfa7f13a16406248abf891c574fe08b006
2009-01-27 17:55:10 +00:00
Eli Barzilay
9f15554e02 newlines at EOFs
svn: r13105

original commit: d1a0086471bf5e9553a9b056b26286c427831d38
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
53a5f53d15 Make inference work in subtype tests.
Add test for top-arr.

svn: r12746

original commit: 08fa300d14085b678a0d0fd357613649e2e459b9
2008-12-08 18:26:58 +00:00
Sam Tobin-Hochstadt
fe7eb33c59 Fix time-apply, add test
svn: r12727

original commit: dd8e878cb442a7b9e6b7204552a3856073b6131d
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
f168aa06c3 Add `current-continuation-marks'
Add some exns
Test require substructs

svn: r12726

original commit: 238b248ad5304189396008634e8a62780fb8fb7f
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
df8d714918 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709

original commit: e6eb482de48b8d82a09a9a18db71a2879a5e620a
2008-12-05 00:25:02 +00:00
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