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
9f9e83b671
Yes, I know that we get different results for how it prints out. This needs
...
to be fixed. But for now, I'm commenting this out with a note to myself to
get this fixed.
svn: r18322
2010-02-24 17:46:51 +00:00
Stevie Strickland
6326731a15
Fix the tests that break due to semantic changes in object-contract.
...
svn: r18290
2010-02-23 04:34:05 +00:00
Carl Eastlund
1d4cdbeb45
Exports from scheme/contract/private/blame: removed constructor; fixed confusing selector names.
...
svn: r17909
2010-01-31 03:03:30 +00:00
Carl Eastlund
35a716d5d3
Fixed blame detection regexp.
...
svn: r17742
2010-01-19 07:14:17 +00:00
Stevie Strickland
d3f703b043
Fixing these back up to how they were before.
...
svn: r13123
2009-01-14 21:31:46 +00:00
Stevie Strickland
4ac235f534
Trunk merging, taking care to integrate Robby's changes appropriately. Only
...
change from what he did was that I added a name arg to the verify/contract
macro (he already has coerce-contract take a name appropriately, so this
was very simple, yay!).
svn: r11737
2008-09-13 23:17:58 +00:00
Robby Findler
85e489219c
a bunch more values are now converted into contracts automatically
...
svn: r11729
2008-09-13 22:35:09 +00:00
Stevie Strickland
16bce22386
Slight change just because we're now printing what kind of thing triggered
...
the broken contract.
svn: r11714
2008-09-13 02:11:05 +00:00
Stevie Strickland
14ef34e8e3
Revert this all the way back to where it was, I'll fix it up in a sec.
...
svn: r11713
2008-09-13 02:03:34 +00:00
Stevie Strickland
32f0b99f12
Couple more tests. Also, change things to mzscheme/mzlib. I really should
...
go put the old version of define/contract in mzlib/contract.ss, have it
not import with-contract or the new define/contract, and fix the unit tests
appropriately.
svn: r11708
2008-09-12 23:39:19 +00:00
Stevie Strickland
41ee6c8ac7
Hello, McFly, hello?!
...
I can't believe there wasn't already a test in there that checked this kind
of thing. Wait, of course there couldn't have been, because it was specific
to define/contract and with-contract, and _I'm_ writing those tests. Ah,
well, fixed! :p
svn: r11707
2008-09-12 23:25:58 +00:00
Stevie Strickland
e83a72d6ae
* Fix converting modules whose source is (list 'quote 'name) to "module 'name"
...
in contract messages
* Differentiate between define/contract functions and normal definitions
* Fix up contract tests
svn: r11700
2008-09-12 20:46:41 +00:00
Stevie Strickland
d03ce01a5a
Fix numbering, add back a test similar to the infinite loop case that
...
was here before to illustrate how define/contract now correctly does
not contract internal references.
svn: r11670
2008-09-12 03:49:20 +00:00
Stevie Strickland
65e13861bb
Accidentally committed this in r11663.
...
svn: r11669
2008-09-12 03:42:36 +00:00
Stevie Strickland
d9c47de816
Write some with-contract tests.
...
svn: r11666
2008-09-12 00:21:38 +00:00
Stevie Strickland
32d4b34630
Check nested and non-nested define/contracts and how they interact.
...
svn: r11665
2008-09-12 00:02:46 +00:00
Stevie Strickland
b783ac9b70
Use the new function syntax for define/contract in a couple of tests.
...
svn: r11664
2008-09-11 23:53:23 +00:00
Stevie Strickland
d3a5ab5556
Fix one test (now the top-level gets the blame appropriately) and remove
...
a bogus test (since a defined function can call itself all it wants without
the contract being checked, and thus that test is now an infinite loop).
svn: r11663
2008-09-11 23:47:29 +00:00
Robby Findler
44b62899fa
improved blame error message when there is no source location
...
svn: r11526
2008-09-02 16:12:13 +00:00
Eli Barzilay
401a535e11
* Added svn:ignore to ignore test-generated files
...
* Renamed mzlib/contract header (distinguished from the other)
* Added "scheme.ss" to test things from the scheme collection
* Added "for.ss" to the "scheme.ss" tests, renamed the section header
to `for'
* Added "list.ss" to test stuff from scheme/list: flatten
* Moved list tests from "function.ss" to "list.ss": foldl, foldr,
filter, memf, assf, sort; removed bogus quicksort-mergesort test
svn: r8928
2008-03-08 07:34:22 +00:00
Eli Barzilay
b1a08edd5a
use new require specs in many places
...
svn: r8774
2008-02-23 09:42:03 +00:00
Robby Findler
cda0888ab9
renamed string/len to string-len/c
...
svn: r8237
2008-01-06 15:53:50 +00:00
Robby Findler
342eb86c10
finished the new ->*
...
svn: r8086
2007-12-20 20:35:58 +00:00
Matthew Flatt
36c5684876
put mzlib test suites into separate sandboxes
...
svn: r8058
2007-12-19 04:12:02 +00:00
Robby Findler
49f198dad7
fixed naming bugs and added a test suite to ensure that I preserve backwards compatibility with the old version of mzlib's contract system
...
svn: r8050
2007-12-18 20:49:33 +00:00