Commit Graph

33133 Commits

Author SHA1 Message Date
Eric Dobson
f7f4a2d448 Make list inference code be shared with sequence code. 2014-05-19 21:34:52 -07:00
Eric Dobson
771b602303 Fix dotted <: starred case. 2014-05-19 21:34:52 -07:00
Eric Dobson
8a07889d08 Fix uniform arg checking, and minor cleanup. 2014-05-19 21:34:52 -07:00
Eric Dobson
7a82255c44 Make dotted functions of the same bound correctly be inferred. 2014-05-19 21:34:52 -07:00
Eric Dobson
5251963af6 Make value inference just delegate to sequence logic. 2014-05-19 21:34:51 -07:00
Eric Dobson
2dba2363f6 Cleanup some cases of cgen/seq. 2014-05-19 21:34:51 -07:00
Eric Dobson
7e0872d282 Make cgen/seq take its args in the correct order. 2014-05-19 21:34:51 -07:00
Eric Dobson
5b02971615 Split out loop and rename it cgen/seq. 2014-05-19 21:34:50 -07:00
Eric Dobson
03ad77afd4 Switch input from arities to sequences. 2014-05-19 21:34:50 -07:00
Eric Dobson
c81c62d8e7 Move common checks out of loop in cgen/arr. 2014-05-19 20:37:44 -07:00
Eric Dobson
d12d3ae780 Add loop function in cgen/arr in preparation for refactoring. 2014-05-19 20:37:43 -07:00
Robby Findler
270f9611fa make the backtrace arrows scale with the font size
also tweak the drawing slightly so that when it does
scale it looks better
2014-05-19 21:43:23 -05:00
Robby Findler
4de8a40bfa add some knobs to draw-arrow 2014-05-19 21:43:22 -05:00
Robby Findler
251eb235d9 use Menlo as the default font, when it is available 2014-05-19 21:43:22 -05:00
Jay McCarthy
aa63a8d0af Extend timeout 2014-05-19 15:51:00 -06:00
Jay McCarthy
9e2fe9901f Flush output for testing 2014-05-19 15:51:00 -06:00
Sam Tobin-Hochstadt
32ab2c49e0 Fix printing to match the desired format. 2014-05-19 16:52:13 -04:00
Greg Hendershott
5f2d205602 lazy-require ~a 2014-05-19 16:05:28 -04:00
Greg Hendershott
9e99b9cccc Update ,log to handle multiple loggers. 2014-05-19 16:05:28 -04:00
Sam Tobin-Hochstadt
6ba31e0240 Add a benchmark for inference. 2014-05-19 15:52:19 -04:00
Robby Findler
61dbf1a34f make struct/dc cooperate better with check syntax so that the struct name gets an arrow 2014-05-19 13:35:26 -05:00
Robby Findler
5751ebe530 fix a problem that leads to spurious 'file has changed on disk' messages
Before this commit, autosave files would (incorrectly) contribute to
the file's last modification time in a way that meant that after an autosave,
the warning would start triggering when the file is saved normally
2014-05-19 10:05:17 -05:00
Asumu Takikawa
27524e6579 Improve TR error messages for class instantiation 2014-05-18 23:08:24 -04:00
Asumu Takikawa
8b245240ea Add one-sided contract for ClassTop types
Closes PR 14486
2014-05-18 23:08:05 -04:00
Robby Findler
cdc3996396 adjust option/c so that function mis-application errors use the right name 2014-05-18 21:47:15 -05:00
Eric Dobson
06d29a7102 Unbreak TR contracted build. 2014-05-18 11:23:56 -07:00
Robby Findler
6efa9185bc make plot tests more drdr friendly
This avoids a race-condition when one test deletes the file
that another creates and also avoids cluttering the current
directory.
2014-05-18 07:53:28 -05:00
John Clements
6f2fc3ecde tiny test for letrec 2014-05-18 00:20:23 -07:00
John Clements
89b96ef9f3 simplify stepper and fix unevaluated id bug 2014-05-18 00:20:22 -07:00
John Clements
a72b8d8a05 fix minor stepper damage caused by a9f46ade9e 2014-05-18 00:20:22 -07:00
Eric Dobson
d057419abe Add some more results to infer-tests. 2014-05-17 22:13:50 -07:00
Eric Dobson
1aa6c49072 Correct subst/dots on list-dots and values-dots. 2014-05-17 22:13:50 -07:00
Eric Dobson
c2fa9d2f73 Make infer-tests give better errors. 2014-05-17 22:13:50 -07:00
Eric Dobson
420bb0e203 Support keywords with %. 2014-05-17 22:13:50 -07:00
Eric Dobson
3ccc14432b Infer in dotted lists when we can infer on the bound. 2014-05-17 22:13:50 -07:00
Eric Dobson
7f400e7bde Make inference work with lists under dotted lists. 2014-05-17 22:13:49 -07:00
Eric Dobson
7af943e41d Handle inference of list dots under regular lists. 2014-05-17 22:13:49 -07:00
Eric Dobson
b87e6a4496 Make polydotted case more standard. 2014-05-17 22:13:49 -07:00
Eric Dobson
1d43b583fb Correctly extend tvars in the right place during inference.
Removes wrong extension of tvars in apply as well.
2014-05-17 22:13:49 -07:00
Eric Dobson
eaa41a2a8a Add missing %s and corresponding unit tests. 2014-05-17 22:13:49 -07:00
Eric Dobson
7d88b7a6cb Remove special case of subtype in tc-apply. 2014-05-17 22:13:49 -07:00
Eric Dobson
7e45bc7166 Allow inference when the result has free variables. 2014-05-17 22:13:49 -07:00
Robby Findler
e930195038 fix default node pict so it doesn't draw outside of its bounding box
and make the size a little bit bigger
2014-05-17 22:23:40 -05:00
Robby Findler
419f3fdee1 use the name in the exists contract in its error message 2014-05-17 22:22:31 -05:00
Robby Findler
a05da159b0 adjust check syntax to track which submodule a reference occurs in
so that arrows point to the relevant requires only, not to all requires

this commit also changes the handling of module+ (aka module* w/ #f) so
that it doesn't count as an "inner" module anymore
2014-05-17 22:21:47 -05:00
Robby Findler
a6808bd4e8 draw error highlight before calling super
closes PR 14517
2014-05-17 17:09:08 -05:00
Robby Findler
01fb28fa87 fix cons/c for combinators that insist on projections for subcontracts
(instead of working with val-first projections)
2014-05-17 16:06:14 -05:00
Matthew Flatt
a0485cb58c fix build for module name resolver cache change
The xform bootstrap sets `current-library-collections-path` without
changing the namespace, which is a bad idea that was exposed by
the module name resolved cache change (commit a7ad0e3a01).
2014-05-17 21:25:05 +01:00
Matthew Flatt
02bc905c02 repair for identifier handling
Repairs commit d67082ea60.
2014-05-17 19:56:25 +01:00
Matthew Flatt
35c996d041 add scheme_jit_find_code_end 2014-05-17 07:20:04 +01:00