Stevie Strickland
c5c22e117c
Tests to make sure the first-order parts of method contracts are attributed
...
to the correct source upon failure.
svn: r18219
2010-02-20 10:46:54 +00:00
Stevie Strickland
cd4aa4c6f6
Forgot about the no-contract forms, so needed to add tests for those, also.
...
svn: r18218
2010-02-20 10:40:50 +00:00
Stevie Strickland
7830d55b42
Okay, that does it for augment, which means I'm done with coding. Now just
...
documentation and benchmarking, then this can go on trunk.
svn: r18217
2010-02-20 10:09:37 +00:00
Stevie Strickland
37e1cd2e2c
A few more tests to make sure we have everything right for augment once
...
implemented.
svn: r18216
2010-02-20 09:48:38 +00:00
Stevie Strickland
67d47e0a1d
Fixes in override ctcs and test suite. I thought I ran it, so I find it
...
weird that I found these on a subsequent run when adding some quick augment
tests to start the next batch. (Oh, those are included also.)
svn: r18215
2010-02-20 09:40:41 +00:00
Stevie Strickland
b5e2d5f93e
Okay, now override contracts are done, so only augments remain.
...
svn: r18214
2010-02-20 09:30:40 +00:00
Stevie Strickland
3c1004fd05
Okay, we should be fixed up in compose-class, now we just need to start
...
handling the projections in class/c-proj.
svn: r18213
2010-02-20 09:14:14 +00:00
Eli Barzilay
190af1efe9
Welcome to a new PLT day.
...
svn: r18212
2010-02-20 08:50:36 +00:00
Stevie Strickland
28046b832b
Another step towards it -- here we're extending the int-methods vector
...
appropriately on subclassing after a contract boundary. Next is adding
in the projections.
svn: r18211
2010-02-20 08:43:54 +00:00
Stevie Strickland
a7017afe5a
Step 1: Cut a ...
...
Wait, no. Here we add the dynamic idxs, which will get incremented whenever
we pass through a contract boundary with an override (or later, augment)
contract.
svn: r18210
2010-02-20 08:21:09 +00:00
Stevie Strickland
3b125d58fc
Tests for internal dynamic dispatch (Java-only)
...
svn: r18209
2010-02-20 08:08:17 +00:00
Stevie Strickland
90d8d3763a
Forgot to put this here.
...
svn: r18208
2010-02-20 06:36:28 +00:00
Stevie Strickland
ead01c9232
There's an app... err, function for that.
...
svn: r18207
2010-02-20 05:32:13 +00:00
Stevie Strickland
98e3695a20
Also change some old code to use vector-copy! as appropriate.
...
svn: r18206
2010-02-20 05:25:36 +00:00
Stevie Strickland
7b7d70a993
I should just use vector-copy! where applicable.
...
svn: r18205
2010-02-20 05:20:15 +00:00
Stevie Strickland
aaf9a5aeac
Apply the inherit-field projections appropriately.
...
svn: r18204
2010-02-20 04:18:49 +00:00
Stevie Strickland
fcee6788d7
Parsing and first order checks for internal field access contracts.
...
svn: r18203
2010-02-20 04:02:59 +00:00
Stevie Strickland
d87794a8d2
External field contracts FTW!
...
svn: r18202
2010-02-20 03:52:47 +00:00
Stevie Strickland
1688a6c3f7
Change how fields are accessed in prep for contract wrapping.
...
svn: r18201
2010-02-20 01:35:46 +00:00
Stevie Strickland
30864fc1d0
I dunno why, but this reads much better to me.
...
svn: r18200
2010-02-20 00:08:49 +00:00
Stevie Strickland
95438db40f
Add set-field!. Because it's useful, because we have get-field, so why
...
not it, and because it's an easy way to later test external field contracts.
svn: r18199
2010-02-19 23:55:39 +00:00
Sam Tobin-Hochstadt
33c18b3985
providing static struct information to untyped code works
...
svn: r18198
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
d9fabc314b
add map/values from carl, and `debug' prints exceptions
...
svn: r18197
2010-02-19 23:25:14 +00:00
Robby Findler
f7447ee6ae
added alt-1 thru alt-9 as keyboard shortcuts to switch between tabs
...
svn: r18196
2010-02-19 23:15:29 +00:00
Stevie Strickland
de859a8879
Fix up Sam's use of make-provide/contract-transformer after Robby's change
...
to it for bug 10645.
svn: r18195
2010-02-19 21:57:03 +00:00
Jay McCarthy
7d1a739df5
Adding comments and specs to parser.
...
Clarifying comments in marshaller. Supporting small numbers, small symbols, small marshalleds, small (proper) lists, small svectors, all-from-module long form
Improving inequality detector in tester: regexps and uninterned symbols
Correcting doc contract
svn: r18194
2010-02-19 19:47:15 +00:00
Robby Findler
7aa6ea4c76
PR 10645
...
svn: r18193
2010-02-19 19:43:14 +00:00
James Swaine
9170687148
moved futures random tests into /collects/tests/future
...
svn: r18192
2010-02-19 19:26:55 +00:00
James Swaine
cb12a81daf
added test notes to futures test suite
...
svn: r18191
2010-02-19 19:21:03 +00:00
James Swaine
a7332c09a2
moved futures tests to collects/tests/future directory
...
svn: r18190
2010-02-19 19:17:59 +00:00
Stevie Strickland
e9264b1fac
Syncing up before class.
...
svn merge ^/trunk
svn: r18188
2010-02-19 16:43:03 +00:00
Robby Findler
47b5892c92
probable fix to problems with this file (make sure find-relative-path's first argument is a directory)
...
svn: r18187
2010-02-19 15:29:54 +00:00
Robby Findler
94880b4733
changed some one-of/c's to or/c's
...
svn: r18185
2010-02-19 15:03:12 +00:00
Eli Barzilay
94666a89cd
Welcome to a new PLT day.
...
svn: r18183
2010-02-19 08:50:39 +00:00
Ryan Culpepper
cb16dde709
macro-debugger: some work on syntax snips
...
svn: r18182
2010-02-19 05:45:54 +00:00
Stevie Strickland
6777fc31a3
Rewrite this a little to make it clear that we're now only checking the
...
super class's beta-methods vector to make sure this is even an overrideable
method.
svn: r18181
2010-02-19 04:59:05 +00:00
Stevie Strickland
55d39b0035
It was a good thing I decided to add some super/inner mixed examples here,
...
because it pointed out a bug in my implementation where we weren't getting
the right version of the super method (which gets the projection).
svn: r18180
2010-02-19 04:40:10 +00:00
Stevie Strickland
5cc68fdd0f
In some ways, I'm still trying to decide exactly what some of these forms mean.
...
For example, if we're in the java part of a beta-java chain, can we still add
an inner contract? If so, it should affect each java-style overriding method
until we reach the next beta-style augmenting method.
It can just be confusing, because one might thing that inner in a
contract => needs an augmenting method in the subclass, super => needs
an overriding method in the subclass. The latter is true, since only
the next immediate method can reach the super class's implementation,
but inner jumps to the next augmenting method, so the former isn't
necessarily true.
svn: r18179
2010-02-19 04:27:44 +00:00
Matthias Felleisen
982820fba2
fixed double-def of empty-scene
...
svn: r18177
2010-02-19 01:06:11 +00:00
Stevie Strickland
b59955bc01
Ah, that'd be the issue. THE TESTS WERE WRONG. All's well, and I've even
...
added a couple more tests to make sure we apply the projections in the right
order.
svn: r18176
2010-02-19 00:34:27 +00:00
Stevie Strickland
7fe863e792
Inner tests! They almost all fail! BUT WE SHALL CHANGE THAT.
...
svn: r18175
2010-02-19 00:09:47 +00:00
Stevie Strickland
2b92ea9225
Start inner projections work. Next, test cases, then I'll fix the test
...
cases by implementing the rest.
svn: r18174
2010-02-18 23:54:56 +00:00
Stevie Strickland
da7473b867
TEST DRIVEN DEVELOPMENT.
...
svn: r18173
2010-02-18 23:35:58 +00:00
Stevie Strickland
6fcb61cc11
Add some test cases for super.
...
svn: r18172
2010-02-18 23:34:35 +00:00
Stevie Strickland
f8d5234148
Simplify the test case. Also, spam both my and Sam's inboxes.
...
svn: r18171
2010-02-18 23:24:15 +00:00
Stevie Strickland
38522f0dca
A tricky case, this.
...
svn: r18170
2010-02-18 23:22:51 +00:00
Stevie Strickland
301ac0e5f3
The simplest of all the contract features to handle.
...
svn: r18169
2010-02-18 23:17:48 +00:00
Stevie Strickland
cc52bcd197
Start throwing in higher-order checks.
...
svn: r18168
2010-02-18 23:09:42 +00:00
Stevie Strickland
8d9eda1459
I think that finishes all the first order tests.
...
svn: r18167
2010-02-18 22:53:35 +00:00
Ryan Culpepper
b68494250f
scheme/pretty: added quasisyntax reader macro
...
macro-debugger: added change layout menu items
svn: r18166
2010-02-18 22:53:11 +00:00