Stevie Strickland
51ec643172
I'm not sure what to do about this, given the recursive sb call.
2008-06-18 18:53:46 -04:00
Stevie Strickland
8256f922f9
Instantiation... seems to be broken. Adding unit tests to alert us to that
...
fact.
2008-06-18 18:22:16 -04:00
Stevie Strickland
052849c1bb
Otherwise we don't handle nesting.
2008-06-18 18:09:50 -04:00
Sam Tobin-Hochstadt
082545adc9
Just handle PolyDots of stuff not involving dots like the other cases.
2008-06-18 17:36:38 -04:00
Sam Tobin-Hochstadt
8a66c759dc
Fix identifier issues in fold-left/fold-right.
2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
b5bfb18961
Tests in here that now succeed
2008-06-18 17:22:16 -04:00
Sam Tobin-Hochstadt
7f0a330c0c
Adding drest capability to lambda formal checking.
2008-06-18 17:21:53 -04:00
Sam Tobin-Hochstadt
e77ad12feb
Add debug macro, and fix check-below to return appropriate values.
2008-06-18 16:52:04 -04:00
Stevie Strickland
f1211df156
I don't know why this wasn't caught before, but with recent changes, it's now
...
caught correctly.
2008-06-18 16:16:11 -04:00
Stevie Strickland
3e4e5af03c
Thinkoed, all of them should have -lst added.
2008-06-18 16:10:54 -04:00
Stevie Strickland
449a784c1d
Remove this, as it isn't needed.
2008-06-18 16:03:45 -04:00
Stevie Strickland
6986b12618
Fix extra -lst call that shouldn't be there.
2008-06-18 16:03:33 -04:00
Stevie Strickland
5299c9fd5a
Consolidate errors so they only happen once (could get rest arg-related
...
error and formal number mismatch error), and then consolidate code.
2008-06-18 15:57:41 -04:00
Stevie Strickland
f80711bc9e
Split this out into what should succeed and what should fail.
2008-06-18 15:07:00 -04:00
Stevie Strickland
0c6ad7f08b
Forgot to add stars here.
2008-06-18 15:06:48 -04:00
Stevie Strickland
467b138cda
New test for lambda formal list mismatches.
2008-06-18 15:03:12 -04:00
Stevie Strickland
948286f0c6
Rework how lambda formals are handled to try and guess something more
...
correct when there's a mismatch.
2008-06-18 15:02:54 -04:00
Stevie Strickland
17937f5451
Fix up lambda formal handling so that if we get too many or too few formals
...
for the appropriate type, we associate the correct types with the formals
we do have. If we have more formals than types, then a rest-arg function
will have the extra formals as the type of the rest-arg, else we will just
make them bottom.
2008-06-18 13:39:58 -04:00
Eli Barzilay
6864cae36f
Welcome to a new PLT day.
...
svn: r10346
2008-06-18 17:13:24 +00:00
Matthew Flatt
f27a373b07
4.0.1
...
svn: r10345
2008-06-18 17:10:37 +00:00
Stevie Strickland
4b3508a890
Add * where appropriate.
2008-06-18 13:01:43 -04:00
Stevie Strickland
4010a39c2d
* Should have used star (bound in syntax-case), not just * in type-of-formals
...
* I'm pretty sure ann should never get a starred or dotted type, since those
can't appear outside of an arrow context.
2008-06-18 12:57:52 -04:00
Stevie Strickland
6a30c9dec9
No need for this, it's handled by a case lower down (and correctly, so why
...
force changes in two positions?)
2008-06-18 12:45:08 -04:00
Stevie Strickland
c2a53b316b
* Enforce the use of a '*' in list-like rest args.
...
* Abstract out annotation errors so that we can report it in the other case
where it's useful.
2008-06-18 12:31:08 -04:00
Kathy Gray
488f8c210e
Corrected bug introduced by the introduction of match-let
...
svn: r10339
2008-06-18 12:51:22 +00:00
Kathy Gray
1862bffc93
Testengine test file (in wrong directory, probably).
...
svn: r10338
2008-06-18 12:20:17 +00:00
Robby Findler
c1217de228
fixed problem with completions
...
svn: r10337
2008-06-18 05:48:16 +00:00
Eli Barzilay
b93d242aa5
restore unmodified version
...
svn: r10336
2008-06-18 04:53:31 +00:00
Eli Barzilay
f4926472b8
remove changed code
...
svn: r10335
2008-06-18 04:50:58 +00:00
Greg Cooper
88edb0e088
fix small doc bug
...
svn: r10332
2008-06-18 02:15:05 +00:00
Matthias Felleisen
55604117e4
world with lang scheme
...
svn: r10331
2008-06-18 02:13:42 +00:00
Stevie Strickland
2b4f1691fa
Add an informative comment here.
2008-06-17 22:09:04 -04:00
Matthias Felleisen
420263b569
svn: r10329
2008-06-18 02:05:59 +00:00
Stevie Strickland
bd43b23f74
Both of these have the same errors right now, so factor that out into a
...
function.
2008-06-17 22:01:57 -04:00
Stevie Strickland
f86702122d
Fix up error messages to take drests into account.
2008-06-17 21:47:10 -04:00
Stevie Strickland
8bb0890184
I dunno if I like this, but we really shouldn't delay this error, as
...
it should get caught when we attempt dotted vars for testing.
2008-06-17 21:38:05 -04:00
Sam Tobin-Hochstadt
8e498458aa
More tests. Not all of them pass yet, but we are hopeful.
2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
dfdfae95d7
Checkpoint.
2008-06-17 18:10:17 -04:00
Sam Tobin-Hochstadt
c8a2810742
Don't produce extra errors for top-level defines.
...
Lots more error message improvements for application.
Work on polydots apply.
Extend environment only in the proper place in plambda.
Don't let a variable unify with a dotted variable.
2008-06-17 16:28:34 -04:00
Sam Tobin-Hochstadt
3f180f88da
New tests
2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
ddbb045a3e
Handle polymorphic apply with more args than fixed formals.
2008-06-17 14:29:05 -04:00
Sam Tobin-Hochstadt
59e2dc4dea
New tests
2008-06-17 14:28:41 -04:00
Eli Barzilay
e3fa49cdff
keep the language repl if we get a syntax error
...
svn: r10319
2008-06-17 17:45:53 +00:00
Matthew Flatt
4868fa672d
EOPL quote and pair fixes
...
svn: r10318
2008-06-17 17:36:53 +00:00
Eli Barzilay
2c94de20aa
hack: use a special value with exit to avoid popup message (no need for it now)
...
svn: r10317
2008-06-17 17:25:30 +00:00
Sam Tobin-Hochstadt
93c937f909
Adding testcases for dotted function application to rest args via apply.
2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
1bef5f9d0b
Add handling of dotted functions when not wrapped with a big lambda.
2008-06-17 12:57:29 -04:00
Eli Barzilay
b6827d2d0b
Now all module syntax errors kill the repl
...
svn: r10314
2008-06-17 16:06:35 +00:00
Eli Barzilay
8e4e964a65
Announce no interactions, kill repl on malformed module expression too
...
svn: r10313
2008-06-17 15:53:09 +00:00
Eli Barzilay
45bdf4e76d
kill the running thread when there is no module (or bad module) so further interactions are disabled
...
svn: r10312
2008-06-17 15:38:13 +00:00