Commit Graph

144 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
af623cbdc7 add test of `apply values'
svn: r14816
2009-05-14 18:57:23 +00:00
Sam Tobin-Hochstadt
b30338e0c5 Add start of type->contract test suite.
Add test for poly annotation failure.

svn: r14809
2009-05-14 14:45:07 +00:00
Sam Tobin-Hochstadt
88159e2479 add require
svn: r14798
2009-05-13 21:25:41 +00:00
Sam Tobin-Hochstadt
5f1b4a7daf Fix two tests
svn: r14797
2009-05-13 16:17:01 +00:00
Sam Tobin-Hochstadt
54eb4cc314 formatting
svn: r14791
2009-05-12 21:50:16 +00:00
Sam Tobin-Hochstadt
82c6720bc9 Fix more tests for false info
svn: r14787
2009-05-12 19:54:09 +00:00
Sam Tobin-Hochstadt
f24cbf9952 Fix more tests with truth info.
svn: r14784
2009-05-12 16:52:55 +00:00
Sam Tobin-Hochstadt
e796cd802b fix wrong results - 25 fails
svn: r14783
2009-05-12 15:30:15 +00:00
Sam Tobin-Hochstadt
c19b66d5db add tests for overlap
fix more typecheck tests - 29 failures

svn: r14782
2009-05-12 15:17:30 +00:00
Sam Tobin-Hochstadt
1ce4411ceb fix tests to handle identifiers, down to 38 fails
svn: r14775
2009-05-11 19:40:58 +00:00
Sam Tobin-Hochstadt
a828b89e92 Fix a lot of tests - 47 fail.
svn: r14757
2009-05-08 23:12:13 +00:00
Sam Tobin-Hochstadt
dcc2ff72d9 all tests now compile
svn: r14753
2009-05-08 21:38:30 +00:00
Sam Tobin-Hochstadt
9f3d719b4e Fix parsing of All to only use parse-values-type when appropriate.
Fix tests for new names.
Fix tests for parse-type not handling values.

svn: r14752
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
f6f9b20f17 Rename vars.
svn: r14749
2009-05-08 20:10:53 +00:00
Sam Tobin-Hochstadt
29e123ccf3 sync to trunk
svn: r14602
2009-04-24 21:30:40 +00:00
Sam Tobin-Hochstadt
2d7d94031d sync to trunk
svn: r14600
2009-04-24 21:22:59 +00:00
Sam Tobin-Hochstadt
60325b670c Fix handling of filters that refer to out-of-scope vars
svn: r14574
2009-04-21 16:13:00 +00:00
Sam Tobin-Hochstadt
b1b5fe4816 Add test for match improvements.
Improve handling of inference for let loop.  

svn: r14573
2009-04-21 15:35:05 +00:00
Sam Tobin-Hochstadt
929dc1d5b2 Fix polymorphic structure predicates.
svn: r14483
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
69a3b7a70f Fix bug with structure keys and polymorphic structs.
Use `match*'
Add test

svn: r14482
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
ac7e879360 Fix bug with match dots.
Fix handling of keywords.
Add keywords in call-with-input/output-port.

svn: r14469
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
2aab576237 Report more information for untyped imported identifiers
svn: r14418
2009-04-03 22:42:29 +00:00
Sam Tobin-Hochstadt
6d302a9304 Require that `require/typed' uses the contracted version of typed identifiers.
svn: r14415
2009-04-03 18:42:38 +00:00
Sam Tobin-Hochstadt
cd4305ca4f Add refinement types.
Add `parse-commmand-line'

svn: r14372
2009-03-31 03:33:04 +00:00
Sam Tobin-Hochstadt
b1f5b19563 merge to trunk a while ago
svn: r14353
2009-03-30 12:52:30 +00:00
Sam Tobin-Hochstadt
60e096913d First step to polymorphic functions in typed/untyped interface
- poly/c contract from Carl/Stevie
- generate the contracts
- test
- use in typed/srfi/14

svn: r14241
2009-03-23 18:29:07 +00:00
Sam Tobin-Hochstadt
6d8014783b Use 'no-free-identifier=? property with rename transformers.
Allow use of ... without bound when only one ... var in scope.

svn: r14214
2009-03-22 12:41:26 +00:00
Sam Tobin-Hochstadt
0ed8d251bf Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
Please backport.

svn: r14162
2009-03-17 21:18:50 +00:00
Sam Tobin-Hochstadt
f1840f4eeb sync to trunk
svn: r14074
2009-03-12 15:28:19 +00:00
Sam Tobin-Hochstadt
2ad93c7da5 new tests for struct providing
svn: r14033
2009-03-10 20:27:46 +00:00
Sam Tobin-Hochstadt
d1ac259bcc try to fix this test
svn: r13999
2009-03-06 23:37:05 +00:00
Sam Tobin-Hochstadt
147cac076c handle subtyping for varargs functions
svn: r13962
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
f106e88551 remove contract errors
svn: r13959
2009-03-04 20:31:46 +00:00
Sam Tobin-Hochstadt
8498619ab8 most test suites pass
svn: r13958
2009-03-04 20:26:34 +00:00
Sam Tobin-Hochstadt
9d0ee637c7 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
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
6271f648c6 fix some requires
svn: r13925
2009-03-03 21:53:02 +00:00
Sam Tobin-Hochstadt
4615d7573e subst-tests now pass
svn: r13923
2009-03-03 20:35:18 +00:00
Sam Tobin-Hochstadt
02efc28dff Fix error message when polymorphic inference fails because of expected type.
Add test case.

svn: r13639
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
204806a13a revert back to regular parse type
svn: r13619
2009-02-15 21:57:30 +00:00
Sam Tobin-Hochstadt
2b54135394 test fix
svn: r13456
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
52d711e0bd use exact-integer? instead of integer?
use (Listof Any) instead of List

svn: r13437
2009-02-04 23:06:35 +00:00
Sam Tobin-Hochstadt
2962c0bfa7 Fix handling of inexact integer literals.
svn: r13294
2009-01-27 17:55:10 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Sam Tobin-Hochstadt
08fa300d14 Make inference work in subtype tests.
Add test for top-arr.

svn: r12746
2008-12-08 18:26:58 +00:00
Sam Tobin-Hochstadt
dd8e878cb4 Fix time-apply, add test
svn: r12727
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
238b248ad5 Add `current-continuation-marks'
Add some exns
Test require substructs

svn: r12726
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
e6eb482de4 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709
2008-12-05 00:25:02 +00:00
Sam Tobin-Hochstadt
477fa5581e Store contract in Base type representation.
Fix tests, pattern matches.
Contract is *ignored* in equality testing.

svn: r12227
2008-11-03 23:58:29 +00:00
Sam Tobin-Hochstadt
e69f6e126a 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
2008-10-31 17:12:16 +00:00
Sam Tobin-Hochstadt
acfba8a390 Fix types of syntax tests.
Test for double instantiation.

svn: r12164
2008-10-29 02:15:50 +00:00