Commit Graph

2231 Commits

Author SHA1 Message Date
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Eli Barzilay
bba676d90c Update the text message at the top of WXME files, including the URL.
Also, update the message in existing files.  Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version.  Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
a82bb41950 some prop fixes 2010-05-16 18:26:25 -04:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Jay McCarthy
b58932ba39 Off by one 2010-05-14 11:05:23 -06:00
Sam Tobin-Hochstadt
21b5c25c90 Add annotation to test.
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1 sensible handling of literal vectors 2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8 Finish het vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
0558d11abb more testing 2010-05-14 11:00:22 -04:00
Jay McCarthy
bac7ff3bdf Fixing X11 test bugs 2010-05-13 14:34:34 -06:00
Jay McCarthy
fb8e8640bb This error should not be on stderr, because it is intended 2010-05-13 14:25:39 -06:00
Sam Tobin-Hochstadt
a893116391 fix more tests 2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
dcf8507fd6 Fix incorrect tests. 2010-05-13 12:35:14 -04:00
Sam Tobin-Hochstadt
60aed123ce fix more tests 2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
499f36ee69 add simple test 2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
5a8fac0bdf switch to typed/ 2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
ec942b6dab Merge remote branch 'origin/master' into samth/new-logic2 2010-05-12 10:59:29 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Vincent St-Amour
2435f6fe06 Changed the common benchmark wrapper to use the racket language and to
print return values.
2010-05-11 14:56:43 -04:00
Vincent St-Amour
11d8dac0bf Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
Eli Barzilay
50753b6364 more fixes to automated tests 2010-05-10 23:36:14 -04:00
Eli Barzilay
8b3ff3e297 Use racket for automated tests. 2010-05-10 22:13:10 -04:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Sam Tobin-Hochstadt
a81de56b30 add test for bug found by vincent 2010-05-10 17:55:29 -04:00
Carl Eastlund
ff5b8da551 Adjusted list/c to stand alone, rather than using cons/c, so that it prints as itself. 2010-05-10 16:39:07 -04:00
Sam Tobin-Hochstadt
fe10457f4e more test errors 2010-05-10 16:22:41 -04:00
Sam Tobin-Hochstadt
08d0df5256 fix test suite errors 2010-05-10 16:09:58 -04:00
Sam Tobin-Hochstadt
b1a49470ee fix `implied-atomic?' 2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
82ee73ab51 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/scribblings/begin.scrbl
	collects/typed-scheme/scribblings/quick.scrbl
	collects/typed-scheme/scribblings/ts-guide.scrbl
	collects/typed-scheme/scribblings/ts-reference.scrbl
	collects/typed-scheme/scribblings/varargs.scrbl
2010-05-10 10:36:21 -04:00
Matthew Flatt
41e1fe958f test repairs 2010-05-10 06:23:37 -06:00
Matthew Flatt
ed1d7f81c9 move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
Robby Findler
155cc4ac05 fixed the way preference file restoration works in the case that there is no preferences file to start with 2010-05-08 16:22:56 -05:00
Robby Findler
eb5c839b97 changed an ss to a rkt 2010-05-08 16:18:04 -05:00
Jay McCarthy
8c918c489a Fixing test re printing output... again :) 2010-05-07 12:44:12 -06:00
Matthew Flatt
e5a259bdf0 document latest printing convention 2010-05-06 18:01:21 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Sam Tobin-Hochstadt
1146ffa76d Merge branch 'master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/private/parse-type.rkt
	collects/typed-scheme/typecheck/tc-app.rkt
2010-05-05 13:35:29 -04:00
Matthew Flatt
27cd77c16c fix problem with chaperone of chaperoned hash 2010-05-05 09:23:40 -06:00
Matthew Flatt
7c52a82216 fix another hash chaperone bug 2010-05-05 07:52:48 -06:00
Matthew Flatt
60446bcd95 fix racket/vector test and doc typo 2010-05-05 06:18:52 -06:00
Sam Tobin-Hochstadt
90f7f522f8 minor test edits 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
a728bae3cb use racunit better to get expected/actual info 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
d678e7657d use `test-begin' in test 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
3ebd04550a typed/racunit:
- fix more contracts
- make test tests not fail
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
0a2b16f804 fix some racunit types, add test case 2010-05-04 19:47:37 -04:00
Ryan Culpepper
d0cc31b35e syntax/parse: reverted error message, fixed error test 2010-05-04 14:12:49 -06:00
Matthew Flatt
8af4134991 move result-chaperoning procedure to start of chaperioning procedure's results 2010-05-04 13:56:21 -06:00
Jay McCarthy
bfc43a7ebd More permissive cookie parser 2010-05-04 11:20:22 -06:00
Jay McCarthy
3f19ad6fce Including version in cookie output 2010-05-04 10:42:57 -06:00
Matthew Flatt
a097b2ef6a fix chaperone-hash to be more consistent with key handling 2010-05-03 17:59:54 -06:00
Sam Tobin-Hochstadt
d5776a1266 use `vector-member' 2010-05-03 18:03:01 -04:00
Sam Tobin-Hochstadt
69e2122af6 vector-mem{ber,q,v} 2010-05-03 17:08:36 -04:00
Sam Tobin-Hochstadt
34e64b650f Add test for bug 10868
Add 'unit' command line arg to 'run.rkt' command to just run the unit tests
2010-05-03 15:13:33 -04:00
Sam Tobin-Hochstadt
92a3085658 rename 2010-05-03 13:18:56 -04:00
Sam Tobin-Hochstadt
996405af9c fix problem reported by Sigrid on plt-scheme 2010-05-03 13:15:19 -04:00
Sam Tobin-Hochstadt
6b5305afe7 run .rkt files 2010-05-03 13:01:58 -04:00
Matthew Flatt
5a93e8c5e0 more test repairs 2010-05-02 08:31:12 -06:00
Matthew Flatt
e504acb726 use .rktl suffix for files meant to be 'load'ed 2010-05-01 09:58:16 -06:00
Matthew Flatt
043f97df97 fix more test files 2010-05-01 07:23:05 -06:00
Matthew Flatt
fa538620e8 fix cm test 2010-04-30 20:19:53 -06:00
Sam Tobin-Hochstadt
85fad33c4c loadtest.ss -> loadtest.rkt 2010-04-30 16:35:48 -04:00
Sam Tobin-Hochstadt
9a170047f4 .ss -> .rkt 2010-04-30 16:29:10 -04:00
Jay McCarthy
e40f89fed2 Adding mark params 2010-04-30 13:06:55 -06:00
Sam Tobin-Hochstadt
5e9ae84b15 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/tests/typed-scheme/unit-tests/typecheck-tests.rkt
2010-04-30 13:48:49 -04:00
Jay McCarthy
e3a9aa8162 Fixing test of pprint 2010-04-30 11:07:02 -06:00
Jay McCarthy
645b0b06fe Merge branch 'master' of git.racket-lang.org:plt 2010-04-30 10:57:38 -06:00
Jay McCarthy
bc5cf30ebe Renaming rktunit to racunit 2010-04-30 10:57:32 -06:00
Sam Tobin-Hochstadt
04f58cab86 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/drscheme/private/insert-large-letters.ss
	collects/tests/typed-scheme/unit-tests/typecheck-tests.ss
2010-04-30 09:34:31 -04:00
Matthew Flatt
f20d3db75f fix some DrDr tests 2010-04-29 19:55:39 -06:00
Matthew Flatt
7ed0d4e00a futures: protect use of mfence by processor count 2010-04-29 17:11:42 -06:00
Jay McCarthy
f70ffca756 Renaming schemeunit to rktunit and adding compat layer 2010-04-29 15:00:02 -06:00
Jay McCarthy
5cb8f4e3d9 Renaming logic/schelog to raclog, supporting unification for all racket datatypes 2010-04-29 13:41:12 -06:00
Jay McCarthy
7cd703f034 Renaming schelog to logic and racketing 2010-04-28 13:37:57 -06:00
Jay McCarthy
8a6cdfe582 Merge branch 'master' of git.racket-lang.org:plt 2010-04-28 13:21:53 -06:00
Jay McCarthy
7d1c7d874b Changing unstable, xml, html, and web-server to be rackety 2010-04-28 13:21:30 -06:00
Matthew Flatt
6a28bd0e4b fix some tests for drdr 2010-04-28 11:02:31 -06:00
Carl Eastlund
8879f4a61d Updated unstable/srcloc tests for racket. 2010-04-28 12:30:25 -04:00
Matthew Flatt
882b7dce0e move tests/mzscheme to tests/racket 2010-04-27 18:28:39 -06:00
Sam Tobin-Hochstadt
b5acbe3168 move d/c/p
fix tc-e/t
2010-04-27 19:29:10 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Jay McCarthy
94a6aac517 failure-prefix form and failure-format parameter in eli-tester 2010-04-27 16:12:32 -06:00
Jay McCarthy
5b779d22ac slatex test, slatex contracts and props 2010-04-27 11:00:24 -06:00
Jay McCarthy
e258476748 Supporting multiple value returns in formlets 2010-04-27 10:41:56 -06:00
Jay McCarthy
dbe00ce0b4 Fixing test re banner change 2010-04-27 09:44:57 -06:00
Jay McCarthy
5823da1710 Moving error output to stderr 2010-04-27 09:35:01 -06:00
Jay McCarthy
306e67f3ab Fixing test finding 2010-04-27 09:31:05 -06:00
Jay McCarthy
96a3f47ea0 Fixing cookie regex 2010-04-27 08:48:07 -06:00
Sam Tobin-Hochstadt
f1401ad9b6 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-27 10:27:26 -04:00
Sam Tobin-Hochstadt
53a4e4a2e4 remove debugging printfs, comment out fail test 2010-04-27 10:23:30 -04:00
Sam Tobin-Hochstadt
83c1671972 strnum? works 2010-04-27 10:16:21 -04:00
Sam Tobin-Hochstadt
d935b63290 so close 2010-04-27 09:50:39 -04:00
Jay McCarthy
97f5e690b5 Rearranging docs and renaming assert 2010-04-26 16:04:02 -06:00
Jay McCarthy
8cbfe949be Unit tests 2010-04-26 15:44:20 -06:00
Jay McCarthy
33583fd5ca Unit tests 2010-04-26 15:34:26 -06:00
Jay McCarthy
a8027280b5 Merge branch 'master' of git.racket-lang.org:plt 2010-04-26 13:42:54 -06:00
Jay McCarthy
78eab1a245 Adding predicates and using alists 2010-04-26 13:15:29 -06:00
Jay McCarthy
ca987f9020 New test 2010-04-26 12:26:08 -06:00
Jay McCarthy
9fce3c6963 Automated tests 2010-04-26 11:54:09 -06:00
Jay McCarthy
3cf1dc3440 Moving examples to tests 2010-04-26 11:36:52 -06:00
Sam Tobin-Hochstadt
10c23b0002 Merge branch 'master' into samth/new-logic2 2010-04-26 11:50:15 -04:00
Sam Tobin-Hochstadt
8047e32662 Treat static struct info as pattern constructor. 2010-04-26 11:44:37 -04:00
Sam Tobin-Hochstadt
df2291b955 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-26 10:12:50 -04:00
Sam Tobin-Hochstadt
2889f37ed4 Merge branch 'samth/new-logic2' of git.racket-lang.org:plt into samth/new-logic2 2010-04-26 10:05:19 -04:00
Matthew Flatt
a6694a08b7 fix make-base-namespace in scheme/base (PR 10870) 2010-04-26 06:47:02 -06:00
Sam Tobin-Hochstadt
a46461d4f7 racket/base instead of scheme/base, see PR 10870 2010-04-25 18:43:10 -04:00
Matthew Flatt
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Sam Tobin-Hochstadt
0f9d50fa23 Merge branch 'master' into samth/new-logic2 2010-04-24 09:53:10 -04:00
Matthew Flatt
76754c5443 set-subset? to subset? 2010-04-24 07:18:11 -06:00
Matthew Flatt
7cb13860ee reference racket conversions and scribble qq repairs 2010-04-23 17:00:53 -06:00
Sam Tobin-Hochstadt
b173f70ad1 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-23 18:36:46 -04:00
Sam Tobin-Hochstadt
f7bf6d8a22 more progress towards let 2010-04-23 18:36:15 -04:00
Sam Tobin-Hochstadt
788630d26a progress towards let 2010-04-23 16:40:05 -04:00
Sam Tobin-Hochstadt
2d88d698c2 implication works 2010-04-23 12:31:22 -04:00
Matthew Flatt
ab7f9acee2 add for/set 2010-04-23 08:26:20 -06:00
Sam Tobin-Hochstadt
9c59782a37 progress, fix some dumb bugs 2010-04-21 19:00:12 -04:00
Sam Tobin-Hochstadt
c50cb0ff18 Merge branch 'master' into samth/new-logic2 2010-04-21 15:19:36 -04:00
Sam Tobin-Hochstadt
a979bbdbdf typecheck-tests compiles 2010-04-21 15:07:53 -04:00
Sam Tobin-Hochstadt
462b7f1b92 eta abstraction seems to work 2010-04-21 11:34:04 -04:00
Matthew Flatt
d7e4db3efd fix some tests and docs after racket move 2010-04-20 17:28:07 -06:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Sam Tobin-Hochstadt
8bea31d725 finished with the examples 2010-04-20 15:30:07 -04:00
Sam Tobin-Hochstadt
5f0597b834 add tests for occurrence typing work 2010-04-20 14:49:38 -04:00
Sam Tobin-Hochstadt
fca1044972 Merge branch 'master' into samth/new-logic2 2010-04-19 16:14:11 -04:00
Eli Barzilay
5640fe77c5 Ignores that are roughly the same as the ones in svn 2010-04-18 10:47:32 -04:00
Matthew Flatt
9ca5f6b340 fix regexp-replace* 2010-04-16 17:27:53 -04:00
Matthew Flatt
2fb34bcfdc fix Scribble reader test regexp-split pattern 2010-04-15 19:15:53 -04:00
Jay McCarthy
918f2caf34 Adding generics 2010-04-15 16:33:31 -04:00
Matthew Flatt
4bc155905a Perl-like handling of empty matches in regexp-match*, etc., though without Perl-like filtering of empty strings in the result of regexp-split (PR 10855) 2010-04-14 22:53:14 -04:00
Matthew Flatt
1c34ccec44 improve regexp support (PR 10855, halfway) 2010-04-14 18:40:08 -04:00
Sam Tobin-Hochstadt
41e469d7ae Update structure types to have constructor ids.
Use constructor to generate better contracts for poly structs.
2010-04-14 15:06:14 -04:00
Sam Tobin-Hochstadt
0c730ae50a test improvements
svn: r18814
2010-04-14 17:11:21 +00:00
Mike Sperber
9d20fd713d Lazy contract checking for DMdA's `define-record-procedures-parametric'.
svn: r18806
2010-04-13 07:57:57 +00:00
Sam Tobin-Hochstadt
25a817e4aa Fix thinko in subtyping.
svn: r18802
2010-04-12 22:23:39 +00:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
5e22bb81f5 constant-folding repairs to some unsafe operations
svn: r18745
2010-04-07 12:48:15 +00:00
Matthew Flatt
2c36427b20 fix compiler bug with unsafe-c[ad]r and constant folding (PR 10850)
svn: r18742
2010-04-07 02:25:27 +00:00
Matthew Flatt
aec586d2be fix a GC problem related to future and wcm; also fix a race condition related to JITing a delay-loaded procedure (and maybe specific to future-demanded JITting)
svn: r18739
2010-04-06 16:44:53 +00:00
Matthew Flatt
3cc95b31ef add prop:struct-info
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
2cb9f378aa Racket experiments
svn: r18725
2010-04-02 21:29:59 +00:00
Jay McCarthy
2a87df9e5c Supporting arguments in dispatch pattern arguments
svn: r18724
2010-04-02 20:55:36 +00:00
Jay McCarthy
7b61ba023d New library formlets
svn: r18720
2010-04-02 18:53:29 +00:00
Kevin Tew
191b111109 Communciate Structs
svn: r18715
2010-04-01 17:03:51 +00:00
Matthew Flatt
b2d65a1b95 fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
svn: r18711
2010-04-01 13:14:50 +00:00
Eli Barzilay
581cbb461b Change `generator' to have a form of (generator () body ...). The empty
place will have initial input names, so having this first will make
existing code break with an easy to fix syntax error, rather than having
confusing failures.  (Also made it throw a very clear error message if
there is no () now.)

svn: r18705
2010-04-01 07:45:41 +00:00
Robby Findler
6cc7e81db8 updated to match new error message
svn: r18691
2010-03-31 14:36:58 +00:00
Matthew Flatt
417be5d8e2 move definedness check for imported variable to link time instead of access time; add errortrace meta-language; tweak errortrace to avoid an unnecessary and loop-obscuring annotation; improve slightly bytecode optimizer's handling of w-c-m; improve JIT handling of w-c-m
svn: r18678
2010-03-30 20:21:28 +00:00
Jay McCarthy
0289edf0cb Repairing SchemeUnit tests re: DrDr
svn: r18673
2010-03-30 17:42:16 +00:00
Jay McCarthy
04d1fa6a26 Parsing patch from Dave Gurnell
svn: r18671
2010-03-30 17:05:51 +00:00
Noel Welsh
cfab7a8d97 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
2010-03-30 13:33:45 +00:00
Matthew Flatt
baab09fc1b drop the uglier half of the Mac OS X thread-local variable hack; thread GC state through mark functions (to avoid overhead of thread-local accesses); fix some procedure-arity bugs and work toward fixing chaperones and some other procedure operations on keyword procedures
svn: r18661
2010-03-29 15:06:47 +00:00
Noel Welsh
f655a38ead Fix the SchemeUnit test suite so it runs without error following changed introduced in r18618.
svn: r18659
2010-03-29 12:58:13 +00:00
Matthew Flatt
b8c3112b98 fix chaperones on parameters
svn: r18654
2010-03-28 15:56:04 +00:00
Matthew Flatt
73807aef24 chaperones (v4.2.5.3)
svn: r18650
2010-03-28 01:10:33 +00:00
Sam Tobin-Hochstadt
d4e0c16d55 a new branch of the whole tree
svn: r18648
2010-03-27 14:49:58 +00:00
Mike Sperber
19793ca54b Disable a test that exposes a hard-to-fix problem in the image
primitives.

svn: r18645
2010-03-27 13:52:49 +00:00
Sam Tobin-Hochstadt
752e93fc88 add simple tests
svn: r18638
2010-03-27 00:31:29 +00:00
Matthew Flatt
72db535760 fix optimizer bug for inlining procedures under 'let' in rator position
svn: r18622
2010-03-25 20:09:41 +00:00
Jay McCarthy
55c3176934 Adding a work around for the compiler bug... plus I like it better. And adding a regression test for the compiler.
svn: r18619
2010-03-25 18:14:11 +00:00
Noel Welsh
af84b331a1 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
2010-03-24 13:18:37 +00:00
Noel Welsh
cf017110a9 Fix a problem generating contracts for FlVector exports. Add test for problem.
svn: r18603
2010-03-23 10:30:24 +00:00
Sam Tobin-Hochstadt
23d16b904f fix embed-in-c
svn: r18584
2010-03-19 15:27:47 +00:00
Stevie Strickland
dde2011ec7 Add ->dm and case->m, which are the implicit method versions of ->d and
case->.

This should be included in the release.

svn: r18579
2010-03-18 21:28:41 +00:00
Kevin Tew
8299803e06 [Places] channel tests
svn: r18577
2010-03-18 16:42:14 +00:00
Sam Tobin-Hochstadt
e1eb4a4b93 Fix bug in match reported by jay.
svn: r18563
2010-03-17 18:21:09 +00:00
Noel Welsh
5f6aeb364f Check that the FlVector type is exported. Currently this test fails.
svn: r18557
2010-03-17 15:26:30 +00:00
Noel Welsh
39a1489403 Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
svn: r18555
2010-03-17 14:49:29 +00:00
Kevin Tew
e7b6b4a3da place holder for place-channel tests
svn: r18548
2010-03-15 21:28:57 +00:00
Stevie Strickland
c7c8f7061e Add documentation, and also add tests for appropriate init-field behavior.
svn: r18541
2010-03-15 08:47:09 +00:00
Stevie Strickland
924842d9e9 * Fix inits so that we either call the previous class/c wrapper's init
or let continue-make-super take control if we were the first wrapper
* Fix up handling of init/contract sorting so that things are performed
  at the right phase (at least if we're going to treat names as symbols).
* Fix up new tests so that all contract layers are tested.

svn: r18540
2010-03-15 08:29:22 +00:00
Stevie Strickland
7ec061cdbf * Factor out zipping of inits/contracts of the init closure
* Add tests for higher-order behavior

svn: r18538
2010-03-15 07:37:25 +00:00
Stevie Strickland
1bd29dd7e9 Okay, we're going to add back init contracts, which I'd somewhat done before.
In this version, we're not going to have any reasonable first-order checks as
to whether or not the class actually accepts the initialization arguments that
are being contracted.  I'm also just going to handle by-name at first, since
that's all I originally discussed in the paper.

svn: r18534
2010-03-15 06:49:49 +00:00
Stevie Strickland
7b831e86a6 Correct with-type so it handles result types of the form (values t ...).
svn: r18531
2010-03-14 02:32:20 +00:00
Sam Tobin-Hochstadt
9035e2e584 Prevent unbound identifiers from being in the base env.
Fix some bugs caught by this.

svn: r18526
2010-03-12 16:25:40 +00:00
Noel Welsh
97924ffc65 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
2010-03-12 12:13:10 +00:00
Sam Tobin-Hochstadt
b3be4f32f7 Null does not overlap with structs.
svn: r18508
2010-03-10 23:43:47 +00:00
Stevie Strickland
40b35a2b73 Now that we have a way of marking procedures as methods at runtime,
fix up all projection applications and uncomment out the tests for
appropriate method arity errors.

svn: r18504
2010-03-10 04:07:00 +00:00
Stevie Strickland
86a26d7947 Sync up to trunk.
svn: r18500
2010-03-10 01:11:31 +00:00
Sam Tobin-Hochstadt
c24daa5dbb Add `define-predicate'
svn: r18497
2010-03-10 00:10:03 +00:00
Stevie Strickland
0982626a67 Add test cases, which let us see where we're failing at the moment.
svn: r18496
2010-03-09 23:56:20 +00:00
Matthew Flatt
4673b36dcf adjust inlining heuristics again
svn: r18479
2010-03-06 03:44:07 +00:00
Sam Tobin-Hochstadt
87f978e59e Fix PR 10813
svn: r18477
2010-03-05 21:52:54 +00:00
Stevie Strickland
bf60da75e1 Refactor out new has-contract?/value-contract functionality so that it's
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.

svn: r18469
2010-03-04 21:10:44 +00:00
Sam Tobin-Hochstadt
80fcee2577 Fix PR 10806.
svn: r18464
2010-03-04 13:45:25 +00:00
Casey Klein
cd2fc95d4e Fixes typos in r18451
svn: r18459
2010-03-04 00:14:40 +00:00
Stevie Strickland
5fe0a790c1 Change how contracts for multiple values are handled to be a little cleaner
syntactically.

svn: r18458
2010-03-04 00:04:07 +00:00
Stevie Strickland
f2788561d3 Add the ability to contract more than one value returned from a with-contract
block in expression position.

svn: r18456
2010-03-03 21:54:18 +00:00
Robby Findler
7c1b076ee1 svn: r18451 2010-03-03 19:13:43 +00:00
Jay McCarthy
62e077e90d Applying Dave Gurnell's serialization patch
svn: r18447
2010-03-03 16:55:42 +00:00
Matthew Flatt
fced29e946 fix regexp bug in unicode-category patterns
svn: r18427
2010-03-02 15:09:47 +00:00
Sam Tobin-Hochstadt
65b12a2af3 Use `current-contract-region' appropriately.
Maintain source locations.
Fix PR 10776.

svn: r18421
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
12257912e3 Fix bug 10763.
svn: r18418
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
78c14e434b 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
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
1c1a2dde38 Fix pconvert of hashtables.
svn: r18414
2010-03-01 20:27:55 +00:00
Robby Findler
d7f8c62371 fixed immutable boxes and vectors
svn: r18407
2010-03-01 14:47:38 +00:00
Stevie Strickland
16dbb0edc1 Fix bug in field mutation on contracted objects.
svn: r18390
2010-02-27 20:59:40 +00:00
Sam Tobin-Hochstadt
31f0b5e305 Fix tests to use `test-suite' to delay execution.
Move hiding of errors down in stack.

svn: r18381
2010-02-27 15:07:45 +00:00