Commit Graph

169 Commits

Author SHA1 Message Date
Eli Barzilay
fd735190d5 properly disable TS tests on cgc
svn: r16842

original commit: 0c0945bb08cf08f46ae461c1c07fbbc17b3cb267
2009-11-17 20:02:07 +00:00
Sam Tobin-Hochstadt
2d9267f484 Add types for with-output-to-string, open-output-nowhere
Fix time.ss test not to print

svn: r16790

original commit: 25f9bcfe030b4e1374546a8859d2170e5bf4b6eb
2009-11-15 22:38:30 +00:00
Sam Tobin-Hochstadt
df40adad82 disable compilation of test files to avoid drdr race condition
svn: r16663

original commit: 36bceaa46322641f6da83f1113dce4ee19278bdd
2009-11-10 20:10:47 +00:00
Sam Tobin-Hochstadt
2d235dfb8e Fix drdr props for more files.
Fix requires in TS tests.

svn: r16635

original commit: f29e01029c1462147382c1ea3280107ea9b89a41
2009-11-09 17:06:12 +00:00
Eli Barzilay
33d300977a newlines at EOFs
svn: r16630

original commit: 44d88cee6b13d29d08d5bdd8e9e7681ca70a3765
2009-11-09 03:49:50 +00:00
Sam Tobin-Hochstadt
b616135475 Add failing test to xfail.
Remove old dead code.

svn: r16479

original commit: 93a504a8173309922e087142ca191d76c6885032
2009-10-30 16:26:48 +00:00
Sam Tobin-Hochstadt
34f394533b fix test result
svn: r16398

original commit: a3082cba0b10ebd0e21d4ffa998332f73467d9aa
2009-10-21 14:46:36 +00:00
Sam Tobin-Hochstadt
387ee8193b Add `typed/scheme/system'
Special handling of (letrec ([x e]) x)
Allow functions with optional keyword args to be inferred when kws not supplied.
Infer instantiations for kw functions in simple cases.
Add `Path-String' type
Fix types of `filter', `with-{input-to,output-from}-file'
Add `port->lines'
New 'metrics.ss' test

svn: r16385

original commit: 37106bd6f7241277288ad56a3c75aef53cdfc3c3
2009-10-20 18:30:37 +00:00
Sam Tobin-Hochstadt
9c607d6779 Don't error for branches with wrong number of results where return type is Bot.
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert

svn: r16357

original commit: 6a83901a8bd60ccea014f84238a378749573beb2
2009-10-18 01:10:00 +00:00
Sam Tobin-Hochstadt
cc3c031d80 Fix bug with use of match with ... and annotation.
svn: r16216

original commit: 6efd0abc13711b0ca3f75b7c6460291ffb77b8d9
2009-10-02 16:20:30 +00:00
Sam Tobin-Hochstadt
391f497ebb Remove obselete file.
Use syntax/parse instead of stxclass.

svn: r15983

original commit: 49b30f9055bbd996e86eafbfbd60aece4fe87f17
2009-09-11 22:17:45 +00:00
Sam Tobin-Hochstadt
521dee2bb5 Move parse-type2 to parse-type.
Re-enable typed-scheme tests automatically.

svn: r15924

original commit: 4907d266df8438b6f0f4a3e3fd0241702ab46b57
2009-09-08 20:02:03 +00:00
Sam Tobin-Hochstadt
cf872c4e38 New type parser, written using syntax/parse.
- uses keywords with bindings
 - : macro in separate file so it can be used earlier
 - internal function in separate file
FilterSet/c and LatentFilterSet/c contracts
Avoid returning #f when `look-for-in-orig' fails
Add type for unsafe-cdr

svn: r15923

original commit: 63d318fd4b7e7244af10fff21db74f0d09db5006
2009-09-08 19:51:34 +00:00
Sam Tobin-Hochstadt
240f4eaeb3 remove extra whitespace
svn: r15863

original commit: 9e25d28a28306bf397ae40c06ebf07fdce7b8f1c
2009-09-03 07:53:39 +00:00
Sam Tobin-Hochstadt
d4b5a51fce New tests
svn: r15856

original commit: 95cb438a9c7dca02d4a55c949f27601af07bbd59
2009-09-01 22:22:37 +00:00
Sam Tobin-Hochstadt
af1593c0ea New contracts for hashtables, vectors, boxes
svn: r15646

original commit: 1ea71ea94b86f9454825bebbc86215b73ede3f19
2009-07-30 21:15:16 +00:00
Eli Barzilay
40fa4f26b2 Newlines at EOFs
svn: r15380

original commit: a70bf64fd9d68487c128282ca85a8964e1592711
2009-07-04 02:28:31 +00:00
Sam Tobin-Hochstadt
c8cf1953e5 Use vector-immutableof' and box-immutable/c' to handle boxes and vectors.
svn: r15199

original commit: cfd65e7fa2ec01f345c6092c308c6894557dc7b6
2009-06-17 20:49:13 +00:00
Carl Eastlund
f2d1a88bf5 Added a test for new datum->syntax type clauses.
svn: r15159

original commit: 6ae56e5348b9bcf1033a5f67242aab6769d32ca1
2009-06-12 23:36:08 +00:00
Sam Tobin-Hochstadt
ab3e94b6e2 Add NoFilter and NoObject to represent no information about filter/object.
Handle these properly in check-below (with test).
Use NoFilter and NoObject to make if typechecking work properly with filters.
Reject mismatched filters/objects (with test).

New version of require/typed that handles opaque and struct requires.
Reorganize docs around this.

svn: r15155

original commit: 7b82069fa0805e3de16c9a49d6c303789fc75419
2009-06-12 19:04:39 +00:00
Sam Tobin-Hochstadt
17a3d0944e hash table keys are contravariant, not covariant
svn: r15077

original commit: e14e58c8df07a874c5a9093c9453de92f3ab04f2
2009-06-04 14:38:59 +00:00
Sam Tobin-Hochstadt
e9b660cc63 move additional tests to test dir
svn: r14963

original commit: c1eb25e47fe682861017fad901e23e0e9f626045
2009-05-23 23:00:23 +00:00
Sam Tobin-Hochstadt
ff29088667 Add unit tests for andmap of ..., Bot return to MV context
svn: r14929

original commit: e772687a583966b882912904b9a2cfe365e1bb17
2009-05-22 19:08:12 +00:00
Sam Tobin-Hochstadt
1a133d64f9 Add test of andmap.
svn: r14928

original commit: 5b7249eea551979eac88b199b270f5800cdad42a
2009-05-22 19:04:22 +00:00
Sam Tobin-Hochstadt
e8872656b5 Add test for unreachble code with expected type.
svn: r14869

original commit: 0cd135c3bb0f2250fd23613ad07fc3d298eeb052
2009-05-19 15:24:12 +00:00
Sam Tobin-Hochstadt
164416b707 add syntax locations to cond* macro
svn: r14868

original commit: f71249500992e1b9a0729b1340d7ecc20cd8d563
2009-05-19 15:23:57 +00:00
Sam Tobin-Hochstadt
3a21f89ecd make struct-exec a little more interesting
svn: r14828

original commit: 7a24d39348fc652863895491310d101cfd7513cd
2009-05-15 15:47:57 +00:00
Sam Tobin-Hochstadt
e81e3049b0 add test of `apply values'
svn: r14816

original commit: af623cbdc7a021caefe909460df7ec59212e138f
2009-05-14 18:57:23 +00:00
Sam Tobin-Hochstadt
30b3106020 Add start of type->contract test suite.
Add test for poly annotation failure.

svn: r14809

original commit: b30338e0c55fcef33a43a844d963ad8cdcee998b
2009-05-14 14:45:07 +00:00
Sam Tobin-Hochstadt
7b43128a36 add require
svn: r14798

original commit: 88159e24792f0e69d324b31b5fabb4b91e4e4ca9
2009-05-13 21:25:41 +00:00
Sam Tobin-Hochstadt
8add889cfe Fix two tests
svn: r14797

original commit: 5f1b4a7daf99c2db91b1b9c1685a0dc9ef65614e
2009-05-13 16:17:01 +00:00
Sam Tobin-Hochstadt
22907160c9 formatting
svn: r14791

original commit: 54eb4cc314dc31b7afdffcf5a1e00d70e02721fd
2009-05-12 21:50:16 +00:00
Sam Tobin-Hochstadt
8e3a80596c Fix more tests for false info
svn: r14787

original commit: 82c6720bc9d0ca4e31be19b31630a5781f39949b
2009-05-12 19:54:09 +00:00
Sam Tobin-Hochstadt
bc9f01899a Fix more tests with truth info.
svn: r14784

original commit: f24cbf99528313ea078cd74b71b16e4501b70815
2009-05-12 16:52:55 +00:00
Sam Tobin-Hochstadt
1dbac3137a fix wrong results - 25 fails
svn: r14783

original commit: e796cd802bf056a93a0328901b9e6631f1e63ada
2009-05-12 15:30:15 +00:00
Sam Tobin-Hochstadt
3d37ef204b add tests for overlap
fix more typecheck tests - 29 failures

svn: r14782

original commit: c19b66d5db4d25746472d17fbd6f750e3eb474ef
2009-05-12 15:17:30 +00:00
Sam Tobin-Hochstadt
937ac8309a fix tests to handle identifiers, down to 38 fails
svn: r14775

original commit: 1ce4411ceb4d355d9ddda5e073c00923f78b08fb
2009-05-11 19:40:58 +00:00
Sam Tobin-Hochstadt
c43a6734ab Fix a lot of tests - 47 fail.
svn: r14757

original commit: a828b89e92728243acea2e58dae064be28d83bbb
2009-05-08 23:12:13 +00:00
Sam Tobin-Hochstadt
270ea45d4b all tests now compile
svn: r14753

original commit: dcc2ff72d9ba3f2fb21c1485cc86c59246be9dae
2009-05-08 21:38:30 +00:00
Sam Tobin-Hochstadt
5a3369a939 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

original commit: 9f3d719b4eed1f835372f63f71bdfdc837a199cc
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
f1b012bb42 Rename vars.
svn: r14749

original commit: f6f9b20f17ef5be7a84cd37ab6f8eac883036a65
2009-05-08 20:10:53 +00:00
Sam Tobin-Hochstadt
8b96f98595 compiles again
svn: r14625

original commit: 8cbdf3ee951ce80178ff79b135906cb3d56c5a7e
2009-04-27 16:06:54 +00:00
Sam Tobin-Hochstadt
9751e87403 fix conflicts
svn: r14601

original commit: 994f0205f49bb8960b118ca0dda8dae740b1ab1c
2009-04-24 21:30:18 +00:00
Sam Tobin-Hochstadt
ba8d0ff816 resolve conflicts
svn: r14598

original commit: 1edf62a912ac0468c2a995043c58826607d645dc
2009-04-24 21:21:06 +00:00
Sam Tobin-Hochstadt
a5c24172b8 Fix handling of filters that refer to out-of-scope vars
svn: r14574

original commit: 60325b670c25276dddcf904b801bbde922ca2302
2009-04-21 16:13:00 +00:00
Sam Tobin-Hochstadt
a6b5a432c0 Add test for match improvements.
Improve handling of inference for let loop.  

svn: r14573

original commit: b1b5fe481681aef76c06b8abf1abe4cc267533ec
2009-04-21 15:35:05 +00:00
Sam Tobin-Hochstadt
297a5745a6 Fix polymorphic structure predicates.
svn: r14483

original commit: 929dc1d5b245e03d59eba55989c42c1a3e91954a
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
88b15b7219 Fix bug with structure keys and polymorphic structs.
Use `match*'
Add test

svn: r14482

original commit: 69a3b7a70f56e01d732491d0fa001fe3c7667868
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
b111dc6b98 Fix bug with match dots.
Fix handling of keywords.
Add keywords in call-with-input/output-port.

svn: r14469

original commit: ac7e87936043f80e97057c252b855159349001d6
2009-04-08 20:24:05 +00:00
Sam Tobin-Hochstadt
7b70ced131 Report more information for untyped imported identifiers
svn: r14418

original commit: 2aab5762370806fb648694cbbd6cb1c44ba2fc83
2009-04-03 22:42:29 +00:00