Sam Tobin-Hochstadt
78832fe332
Support case-lambda with multiple branches with keyword arguments.
2010-06-08 17:50:48 -04:00
Sam Tobin-Hochstadt
7f300a2c4f
Special-case (- x 1) for use in loops.
2010-06-08 12:05:56 -04:00
Sam Tobin-Hochstadt
7df8e32793
Properly handling immutable invariant structs.
2010-06-07 14:03:06 -04:00
Sam Tobin-Hochstadt
0e3c2b71cc
Test for PR 10946.
2010-06-01 13:38:45 -04:00
Vincent St-Amour
2229173b82
Changed the types of some numerical operations to be closed on naturals.
2010-05-29 11:31:47 -04:00
Sam Tobin-Hochstadt
d323a794e8
Change `typed-scheme' numerics.
...
- `number?' no longer `real?'
- Number no longer Real
- remove obsolete environments
- Fix tests to use Real where necessary.
- Fix typed/mred and typed/framework
- Fix insert-large-letters to use `sub1' for type-safe loop
Merge to 5.0.
2010-05-28 19:24:46 -04:00
Vincent St-Amour
e9a0014630
Disabled multi-valued seq-exprs in the for: macros because using them
...
triggers an internal error in the typechecker.
2010-05-28 19:05:44 -04:00
Vincent St-Amour
c92ae73859
Wrote tests for the for: macros.
2010-05-28 19:05:44 -04:00
Sam Tobin-Hochstadt
34fef6e538
Re-enable test.
2010-05-27 12:46:29 -04:00
Sam Tobin-Hochstadt
9701ae0065
Avoid requiring old base-types.
2010-05-27 10:56:18 -04:00
Sam Tobin-Hochstadt
63dbde1e9e
Fix test for new `do:' behavior.
2010-05-27 10:10:26 -04:00
Eli Barzilay
5c702976c2
A few more stray "racunit"s.
2010-05-26 15:21:55 -04:00
Sam Tobin-Hochstadt
775e1b06a5
Test for former bug. Closes PR 10470.
2010-05-25 00:09:03 -07:00
Sam Tobin-Hochstadt
27e971dce2
Check that at least one require spec is provided.
...
Closes PR 10617.
Merge to v5.0.
2010-05-24 22:33:31 -07:00
Sam Tobin-Hochstadt
af689b2531
Tests for bug found by David Van Horn.
2010-05-24 14:04:43 -07:00
Sam Tobin-Hochstadt
f320d36e9c
Fix parsing of All on RHS of ->
2010-05-24 13:26:29 -07:00
Sam Tobin-Hochstadt
230f1a59c6
More precise types for: truncate, floor ceiling
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
e9ac3651a4
Add test file.
...
Closes PR 10594.
2010-05-19 15:22:22 -05:00
Sam Tobin-Hochstadt
9fe3747a19
Allow expected type to have weaker filters and objects.
...
Closes PR 10729.
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
7e9313bad3
Allow recursive types in type annotations for `list'.
...
Closes PR 10562.
Tests for fixed bugs.
2010-05-19 15:14:18 -05:00
Vincent St-Amour
790658886b
Wrote tests for the new pair accessor type signatures.
2010-05-19 13:10:36 -04:00
Sam Tobin-Hochstadt
3fd5c49172
Add test for PR 10318.
...
Closes PR 10318.
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
638245e4c5
Better type annotation support.
...
- Delay more errors for additional reporting.
- Don't re-check expressions that were checked for inference.
Closes PR 10098.
2010-05-19 10:10:54 -05:00
Sam Tobin-Hochstadt
535dc73fad
More fixes for Vincent.
2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5
Fix repeated type ascription.
2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
0d1d61c725
rename to .rkt
2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
68391b2d7f
Fix for git/rkt
2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
ce874bb0a1
rename to rkt
2010-05-17 15:29:12 -05:00
Eli Barzilay
7b14a1f585
"Racunit" -> "Rackunit"
2010-05-17 12:07:32 -04:00
Eli Barzilay
fcedc30ee4
Rename "collects/tests/mred" -> ".../gracket".
...
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04: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
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
4548426cd4
Merge remote branch 'origin/master' into samth/new-logic2
2010-05-11 15:19:52 -04:00
Sam Tobin-Hochstadt
a81de56b30
add test for bug found by vincent
2010-05-10 17:55:29 -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
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
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