Commit Graph

258 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
83e5843577 fix test suite errors
original commit: 08d0df52562a72507aa82db19b9bcef496315e55
2010-05-10 16:09:58 -04:00
Sam Tobin-Hochstadt
3dfdcf9722 fix `implied-atomic?'
original commit: b1a49470eeaae287a8b2754308c476c3257434af
2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
80e644c20d produce the correct type
original commit: 62af50867a825aab3572a442276921b205180a3a
2010-05-05 17:50:20 -04:00
Sam Tobin-Hochstadt
8335533ea2 minor test edits
original commit: 90f7f522f8b53d6460fc0da2113605e538969762
2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
0c4ea82ca1 use racunit better to get expected/actual info
original commit: a728bae3cb83770c8e293e90acebe4ff1d7491da
2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
41634b8e34 use `test-begin' in test
original commit: d678e7657deee54921e332157367979b90e36971
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
c1415c98c2 typed/racunit:
- fix more contracts
- make test tests not fail

original commit: 3ebd04550a14e52ed1ce44abe2c1d9f4b7c3374a
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
9e9ee0aee4 fix some racunit types, add test case
original commit: 0a2b16f804502b169e1b1a7ab89fe25f5f6bb0ed
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
db9ffaaae8 use `vector-member'
original commit: d5776a12666c507525df54c2f217f819dd407f33
2010-05-03 18:03:01 -04:00
Sam Tobin-Hochstadt
19c4c523f3 Add test for bug 10868
Add 'unit' command line arg to 'run.rkt' command to just run the unit tests

original commit: 34e64b650fd55c99aff3c79279663becd4da4249
2010-05-03 15:13:33 -04:00
Sam Tobin-Hochstadt
d4d0b811cd rename
original commit: 92a3085658a7addbfd8261a8c6573918d2a4235a
2010-05-03 13:18:56 -04:00
Sam Tobin-Hochstadt
55fb37ff16 fix problem reported by Sigrid on plt-scheme
original commit: 996405af9c5ba32c49d1051c85b573d1383e244a
2010-05-03 13:15:19 -04:00
Sam Tobin-Hochstadt
a15708cba8 run .rkt files
original commit: 6b5305afe742cdb399d049c6732fc92ddabbad3d
2010-05-03 13:01:58 -04:00
Sam Tobin-Hochstadt
3bfbc7da7f fix to work w/ racket renamings
original commit: b308a52240c9edcdd0c51bad5612314d44894b51
2010-04-30 16:04:03 -04:00
Jay McCarthy
b91ae08c0e Renaming rktunit to racunit
original commit: bc5cf30ebe1ba3743f7097d81ebf1297435e0201
2010-04-30 10:57:32 -06:00
Sam Tobin-Hochstadt
2addf717a0 rename to rkt
original commit: 459a675b90443b59e46bccae476a6f040fa8434d
2010-04-30 09:51:32 -04:00
Jay McCarthy
331f098693 Renaming schemeunit to rktunit and adding compat layer
original commit: f70ffca75665f86a380c3df846c8a63b1e941b8b
2010-04-29 15:00:02 -06:00
Sam Tobin-Hochstadt
b922e088d6 move d/c/p
fix tc-e/t

original commit: b5acbe3168012661272f6ea3866efca693fa6c35
2010-04-27 19:29:10 -04:00
Matthew Flatt
94184a7671 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00
Sam Tobin-Hochstadt
a288c49d64 remove debugging printfs, comment out fail test
original commit: 53a4e4a2e46b98f009487e3357b8eb6cc2a1b586
2010-04-27 10:23:30 -04:00
Sam Tobin-Hochstadt
f792d08edb strnum? works
original commit: 83c16719725e6aa423e9f2ef4adab8483def4436
2010-04-27 10:16:21 -04:00
Sam Tobin-Hochstadt
1505c7c3de so close
original commit: d935b63290b1aae41b61c772f9a3a728350a1b11
2010-04-27 09:50:39 -04:00
Sam Tobin-Hochstadt
47dce89a25 more progress towards let
original commit: f7bf6d8a220e3d07eb27f6213273dcee5a585b46
2010-04-23 18:36:15 -04:00
Sam Tobin-Hochstadt
f50ace2729 progress towards let
original commit: 788630d26a479363f8abe244f70a9b36c107ebab
2010-04-23 16:40:05 -04:00
Sam Tobin-Hochstadt
d5a9325d48 implication works
original commit: 2d88d698c20722f59f82e0dd2352e1e1cd067234
2010-04-23 12:31:22 -04:00
Sam Tobin-Hochstadt
07d4b90de3 progress, fix some dumb bugs
original commit: 9c59782a37502e0cc45a0261df3930306201f930
2010-04-21 19:00:12 -04:00
Sam Tobin-Hochstadt
f4bd6d4285 typecheck-tests compiles
original commit: a979bbdbdfbda13d499533d59f6c304575cfb5a1
2010-04-21 15:07:53 -04:00
Sam Tobin-Hochstadt
f06b81ba16 eta abstraction seems to work
original commit: 462b7f1b92300fae8d4a9632ba97432426982aef
2010-04-21 11:34:04 -04:00
Sam Tobin-Hochstadt
ed36f40a4a finished with the examples
original commit: 8bea31d725a3178144d90b53c43dec12bf5c4a4d
2010-04-20 15:30:07 -04:00
Sam Tobin-Hochstadt
083b1e10ae add tests for occurrence typing work
original commit: 5f0597b83463080681d97830708a1a72e3f9bb38
2010-04-20 14:49:38 -04:00
Sam Tobin-Hochstadt
b797c59d21 start removing names
original commit: df1572231ea34907db23f7c930a19bea7e4e6249
2010-04-19 17:52:10 -04:00
Sam Tobin-Hochstadt
6890aab175 Update structure types to have constructor ids.
Use constructor to generate better contracts for poly structs.

original commit: 41e469d7aefd9aab480594caaba62dd7019ec0fd
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
ce7df53455 test improvements
svn: r18814

original commit: 0c730ae50a4b60a982c0a1e6fee24875f2c630a1
2010-04-14 17:11:21 +00:00
Sam Tobin-Hochstadt
063e588872 Fix thinko in subtyping.
svn: r18802

original commit: 25a817e4aa7a74f3148b56ffb9f627ee4f0329f3
2010-04-12 22:23:39 +00:00
Noel Welsh
707dae25ca Add type definition for unsafe-vector*-ref and unsafe-vector*-length, which have recently been introduced, and a test case for in-vector (which uses the above).
svn: r18667

original commit: cfab7a8d97c62814973a8b0e74089233873a896e
2010-03-30 13:33:45 +00:00
Sam Tobin-Hochstadt
af7254875a a new branch of the whole tree
svn: r18648

original commit: d4e0c16d55c167dbef9eefac8b4820fbada0f6b1
2010-03-27 14:49:58 +00:00
Sam Tobin-Hochstadt
8e2865524c add simple tests
svn: r18638

original commit: 752e93fc88111d4edd189eef4a3dc133dd7269d5
2010-03-27 00:31:29 +00:00
Noel Welsh
e1072ebb22 Add the fx to fl conversion functions to Typed Scheme
Add tests for flonum operations to Typed Scheme test suite

Fix the compiler bug tests above uncovered

svn: r18609

original commit: af84b331a13c53709eaba9f0faf7af0c64a000a1
2010-03-24 13:18:37 +00:00
Noel Welsh
39e98488a7 Fix a problem generating contracts for FlVector exports. Add test for problem.
svn: r18603

original commit: cf017110a982fb24451691200dc05830136e9833
2010-03-23 10:30:24 +00:00
Noel Welsh
ba3d01e519 Check that the FlVector type is exported. Currently this test fails.
svn: r18557

original commit: 5f6aeb364ff0007914809017a4e14f4f3bc65a53
2010-03-17 15:26:30 +00:00
Noel Welsh
9cf45f3392 Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
svn: r18555

original commit: 39a1489403db3184b23622dfde17548d65681f6a
2010-03-17 14:49:29 +00:00
Stevie Strickland
78214ab410 Correct with-type so it handles result types of the form (values t ...).
svn: r18531

original commit: 7b831e86a6e70edafb2993f3169d891d27fa5d77
2010-03-14 02:32:20 +00:00
Sam Tobin-Hochstadt
0a828f2262 Prevent unbound identifiers from being in the base env.
Fix some bugs caught by this.

svn: r18526

original commit: 9035e2e58457bd635ceb739f3d021e30fc7262b2
2010-03-12 16:25:40 +00:00
Noel Welsh
19cdb4f096 Add tests for all the fixnum operations. This only checks that the operations have types; semantics and completely specified types aren't rigourously checked.
svn: r18523

original commit: 97924ffc65b5b5ded6f2b4436cde51ed00462e03
2010-03-12 12:13:10 +00:00
Sam Tobin-Hochstadt
db56dfd7d6 Null does not overlap with structs.
svn: r18508

original commit: b3be4f32f7dceb402dbfc2bce35a8db466c16219
2010-03-10 23:43:47 +00:00
Sam Tobin-Hochstadt
2f1771b849 Add `define-predicate'
svn: r18497

original commit: c24daa5dbb2e4a503e81385620008b70d044f76c
2010-03-10 00:10:03 +00:00
Sam Tobin-Hochstadt
79c93700c7 Fix PR 10813
svn: r18477

original commit: 87f978e59ecb88b19391e2210b6b3cb550e4df25
2010-03-05 21:52:54 +00:00
Sam Tobin-Hochstadt
1e35d3a083 Use `current-contract-region' appropriately.
Maintain source locations.
Fix PR 10776.

svn: r18421

original commit: 65b12a2af3a487da88a0d354586e533516273d39
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
ff6ad0c29d Fix bug 10763.
svn: r18418

original commit: 12257912e3a39efcd20bcd0ec3e778c630879577
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
b0a1fde7aa Add `with-type' for defintions, add #:result keyword.
Fix contract for top-arr.
Remove static version of printing conditional.
Fix brokenness in print-converting.

svn: r18416

original commit: 78c14e434b7f6dffc6c404d090b449b097e96cfb
2010-03-01 22:31:24 +00:00