Commit Graph

10131 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
ddefd28d6d Fix handling of structs-as-functions.
Subtyping should look up names in both positions.

svn: r14827
2009-05-15 15:47:22 +00:00
Sam Tobin-Hochstadt
b2cf9c0006 Fix typo so cdrs in paths are handled.
svn: r14826
2009-05-15 15:05:53 +00:00
Sam Tobin-Hochstadt
792bacbd55 turn printing back on
svn: r14817
2009-05-14 18:57:43 +00:00
Sam Tobin-Hochstadt
af623cbdc7 add test of `apply values'
svn: r14816
2009-05-14 18:57:23 +00:00
Sam Tobin-Hochstadt
1047f7625d Handle ValuesDots in check-below.
Fix typo in valuesdots handling in values->tc-results
Handle ValuesDots in do-ret.
Don't try to construct silly wrappers for `apply values'
Don't use rest as list extension if it's #f
Fix tc-result handling for check-subforms/check
Add stronger contracts for Scope
Always generate substitution for infer/dots.
Fix type of `time-apply'

svn: r14815
2009-05-14 18:57:02 +00:00
Sam Tobin-Hochstadt
775fa34f5f Add some contracts in tc/plambda.
Fix handling of tc-results vs types.

svn: r14812
2009-05-14 15:11:33 +00:00
Sam Tobin-Hochstadt
d8c613494e Fix type->contract of function types.
svn: r14810
2009-05-14 14:45:24 +00:00
Sam Tobin-Hochstadt
b30338e0c5 Add start of type->contract test suite.
Add test for poly annotation failure.

svn: r14809
2009-05-14 14:45:07 +00:00
Sam Tobin-Hochstadt
a47bb9e8c3 inference for filters and objects
svn: r14799
2009-05-13 21:25:56 +00:00
Sam Tobin-Hochstadt
88159e2479 add require
svn: r14798
2009-05-13 21:25:41 +00:00
Sam Tobin-Hochstadt
5f1b4a7daf Fix two tests
svn: r14797
2009-05-13 16:17:01 +00:00
Sam Tobin-Hochstadt
a3fb3575f9 rationalize get-type/infer to handle tc-results.
Fix tc-let to handle tc-results in various places.

svn: r14796
2009-05-13 16:16:39 +00:00
Sam Tobin-Hochstadt
8de55a4207 sync to trunk
svn: r14795
2009-05-13 14:35:24 +00:00
Sam Tobin-Hochstadt
8ca532220a Enable inference for ((lambda with rest args when no annotation on rest arg
svn: r14794
2009-05-13 14:34:44 +00:00
Sam Tobin-Hochstadt
f349525244 Contracts for lexical-env
Fix type of quotient/remainer function

svn: r14792
2009-05-12 21:51:01 +00:00
Sam Tobin-Hochstadt
54eb4cc314 formatting
svn: r14791
2009-05-12 21:50:16 +00:00
Sam Tobin-Hochstadt
8fc6e38b11 Fix inference when filters/objects are not needed
svn: r14790
2009-05-12 21:31:21 +00:00
Matthew Flatt
0f1fc2d664 redex doc corrections
svn: r14789
2009-05-12 21:30:28 +00:00
Sam Tobin-Hochstadt
a8a64cfa7c Special case for `call-with-values'
handle subtyping with ... args

svn: r14788
2009-05-12 20:56:32 +00:00
Sam Tobin-Hochstadt
82c6720bc9 Fix more tests for false info
svn: r14787
2009-05-12 19:54:09 +00:00
Sam Tobin-Hochstadt
5300481176 Move `hashof' contract combinator to utils/utils.ss
Fix frees for arr to use `fix-bounds' properly.
Match : symbolically in ->*

svn: r14786
2009-05-12 19:53:48 +00:00
Sam Tobin-Hochstadt
ce9f98098d Type goes before symbol in drest.
Handle tc-results properly in a few places.

svn: r14785
2009-05-12 16:53:24 +00:00
Sam Tobin-Hochstadt
f24cbf9952 Fix more tests with truth info.
svn: r14784
2009-05-12 16:52:55 +00:00
Sam Tobin-Hochstadt
e796cd802b fix wrong results - 25 fails
svn: r14783
2009-05-12 15:30:15 +00:00
Sam Tobin-Hochstadt
c19b66d5db add tests for overlap
fix more typecheck tests - 29 failures

svn: r14782
2009-05-12 15:17:30 +00:00
Sam Tobin-Hochstadt
7b4081eef1 Allow objects to be specified in ->
Fix overlap to handle overlapping base types (numbers)

svn: r14781
2009-05-12 15:13:17 +00:00
Matthew Flatt
1809d9286e fix r6rs template problem with quoting ellipses
svn: r14780
2009-05-12 13:44:04 +00:00
Matthew Flatt
5df29ea906 fix bug with editor-snip% in pasteboard% in editor-canvas% on Windows or X11 (i.e., platforms that use the offscreen bitmap for drawing editors)
svn: r14779
2009-05-12 12:52:55 +00:00
Eli Barzilay
da6e35bf98 Welcome to a new PLT day.
svn: r14778
2009-05-12 07:50:18 +00:00
Eli Barzilay
f51c6bbe64 Fix the leaking of internal drscheme filenames in error messages when
debugging is disabled:
* got rid of the `stacktrace-runtime-name' hack in "rep.ss", replace
  it by a more reliable capture of the context, and later cut the
  stack according to that specific context.
* the cutting is done if possible, no need for the "ACK!" error
  message if no cutting point is found.
* rename `with-stacktrace-name' -> `with-stack-checkpoint'
* add this to "module-language.ss" too, to avoid including it in error
  messages.

svn: r14777
2009-05-12 02:12:49 +00:00
Matthew Flatt
9375b49d1b let-rec clarifications
svn: r14776
2009-05-11 20:13:54 +00:00
Sam Tobin-Hochstadt
1ce4411ceb fix tests to handle identifiers, down to 38 fails
svn: r14775
2009-05-11 19:40:58 +00:00
Eli Barzilay
a7580f9c60 Welcome to a new PLT day.
svn: r14773
2009-05-11 07:50:08 +00:00
Robby Findler
0c0aa26e6f PR 10231
svn: r14769
2009-05-10 21:59:13 +00:00
Robby Findler
01af999556 svn: r14768 2009-05-10 21:53:09 +00:00
Eli Barzilay
029b0c07bd Welcome to a new PLT day.
svn: r14767
2009-05-10 07:50:16 +00:00
Mike Sperber
248fb510b9 Synch German string constants with latest.
svn: r14763
2009-05-09 13:46:38 +00:00
Matthew Flatt
440a60c8ad fix make-custom-weak-hash (PR 10232)
svn: r14762
2009-05-09 13:37:28 +00:00
Matthew Flatt
99c19a552c fix doc typo
svn: r14761
2009-05-09 13:37:04 +00:00
Eli Barzilay
04d274f894 Welcome to a new PLT day.
svn: r14760
2009-05-09 07:50:20 +00:00
Eli Barzilay
b48be04645 typo from Dorai
svn: r14759
2009-05-09 01:01:37 +00:00
Sam Tobin-Hochstadt
fbae33b1c3 match based on symbol for : in ->
svn: r14758
2009-05-08 23:31:33 +00:00
Sam Tobin-Hochstadt
a828b89e92 Fix a lot of tests - 47 fail.
svn: r14757
2009-05-08 23:12:13 +00:00
Sam Tobin-Hochstadt
1444c07c0a polymorphic lambdas are true values.
Use correct pattern.
Return the appropriate types from apply, not the Values struct in the rng.

svn: r14756
2009-05-08 23:11:57 +00:00
Matthias Felleisen
bac292acc6 second draft of char/string
svn: r14755
2009-05-08 21:55:05 +00:00
Sam Tobin-Hochstadt
c2da52d661 Provide tc-literal.
svn: r14754
2009-05-08 21:41:23 +00:00
Sam Tobin-Hochstadt
dcc2ff72d9 all tests now compile
svn: r14753
2009-05-08 21:38:30 +00:00
Sam Tobin-Hochstadt
9f3d719b4e Fix parsing of All to only use parse-values-type when appropriate.
Fix tests for new names.
Fix tests for parse-type not handling values.

svn: r14752
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
0ddf7338cb sync to trunk
svn: r14750
2009-05-08 20:11:09 +00:00
Sam Tobin-Hochstadt
f6f9b20f17 Rename vars.
svn: r14749
2009-05-08 20:10:53 +00:00