Commit Graph

13 Commits

Author SHA1 Message Date
Matthew Flatt
5500ad5b86 new error message convention
Add `raise-argument-error', `raise-result-error', `raise-arguments-error',
and `raise-range-error'.

The old convention was designed for reporting on a single (sometimes very
long line). The new convention is

 <name>: <short message>
   <field>: <detail>
   ...

If <detail> is long or itself spans multiple lines, then it may
also use the form

   <field>:
    <detail>

where each line of <detail> is indented by 3 spaces.

Backtrace information is shown as a multi-line "context" field.

original commit: 9e7548de615610a5be2adb33c4cf6ee10f9e7589
2012-05-25 15:08:05 -06:00
Matthew Flatt
21917f7b45 fix mzlib contract name test
Merge to 5.3

original commit: c64c55b86fd4a2b70caf814a2b06e27db78fcf71
2012-04-10 15:57:50 -06:00
Jay McCarthy
81f9743590 Another test that is sensitive to the contract error message text
original commit: 8da2f537fbdd47493413c3d4d2b4b8caff947123
2011-07-02 14:50:24 -07:00
David Van Horn
5181e32581 Fixes more spelling errors.
original commit: 760a58b65df2b91010d2bcc2739ddab2a4489729
2011-02-04 19:44:13 -07:00
Robby Findler
54b7b650cc changed real-in to be an alias for between/c
original commit: 51ad306af256fe6a1742c99d2caffc062cdfc6e0
2011-01-04 15:40:32 -06:00
Robby Findler
709cffad7a new attempt at contract violation error messages
original commit: bb9bd1b07a29fd8773f7891e0923c89db20a5397
2010-12-22 10:39:59 -06:00
Robby Findler
2794f54cab update the mzlib contract test suite to the new error messages
original commit: 94ebb1f31745b9969774e37753e77137223029fc
2010-12-10 06:57:27 -06:00
Stevie Strickland
de3c2dcc8a Actually turn on old object-info hack mentioned in 4e451a1.
original commit: 778f0c9fc4af1c36c378e3e7bbedeb47b27feeb7
2010-12-02 13:02:59 -05:00
Stevie Strickland
d860b1a18a Fix object=?.
Also commented out some tests of reflective operations on contracted objects.
I've added a note that describes how we might be able to fix this, if
we decide it's worth doing.

original commit: 30afcd3bf5cc272f1642449989628024bedc41eb
2010-12-01 15:11:25 -05:00
Robby Findler
7019af6167 fixed a bug in the mzlib contracts test suite
original commit: 26187fed8f3d3df4e7edd8bfb435ced0c323d910
2010-08-10 19:27:17 -05:00
Stevie Strickland
79f7ee6472 Fix first-order cons/c check in mzlib contract tests.
original commit: 7b38cef4e89ec1b537cf06c643379a67d6d39f07
2010-06-09 15:52:29 -04:00
Carl Eastlund
24ff7958f1 Adjusted list/c to stand alone, rather than using cons/c, so that it prints as itself.
original commit: ff5b8da551339f2ea22bd20f3c9d5ca392d64ac8
2010-05-10 16:39:07 -04:00
Matthew Flatt
212171f54f use .rktl suffix for files meant to be 'load'ed
original commit: e504acb72622f4668a50770476fc7545ef9450b0
2010-05-01 09:58:16 -06:00