Commit Graph

11225 Commits

Author SHA1 Message Date
Graydon Hoare
0a4a602a23 Modify reflect interface to pass tydescs back to client, stop on false return.
These changes are required to prune type-recursion and admit early
returns in the visitor code. Changes to visitors in subsequent csets.
2012-07-10 15:16:48 -07:00
Michael Sullivan
ef9a64709e Make old_vecs an error. 2012-07-10 15:12:13 -07:00
Michael Sullivan
bf06deafe6 Disallow implicitly binding methods in typechecker. Closes #2189. 2012-07-10 15:12:13 -07:00
Michael Sullivan
e4362a59b9 Remove the empty tuple of tydescs from closures. Closes #2531. 2012-07-10 15:12:13 -07:00
Michael Sullivan
95dd9f3204 Get rid of a lot of bind related cruft as part of Issue #2189. 2012-07-10 15:12:12 -07:00
Michael Sullivan
40fc1737b2 Get rid of places that expected foo.bar to implicitly bind. 2012-07-10 15:12:12 -07:00
Michael Sullivan
25b152397d Clean up the tydesc handling code in trans. 2012-07-10 15:12:12 -07:00
Brian Anderson
ccee8cb4f9 std: Fix deadlock by unsupervising the global I/O task 2012-07-10 15:10:13 -07:00
Paul Stansifer
773e3df310 Fix some lookahead problems with ACTUALLY tokens. 2012-07-10 14:26:38 -07:00
Michael Sullivan
0070527383 Pretty print vectors as ~[] instead of []/~. Closes #2863. 2012-07-10 13:55:19 -07:00
Michael Sullivan
14f19bdee4 Don't pretty print unsafe pointers as carets, since #2826 is abandoned. 2012-07-10 13:39:56 -07:00
Patrick Walton
a6ee46db0b rustc: Resolve expressions in literal and range patterns 2012-07-10 12:30:02 -07:00
Brian Anderson
71fd542f26 test: Fix shootout-binarytrees 2012-07-10 12:09:36 -07:00
Brian Anderson
1e8ae18ba1 test: Fix shootout-fasta 2012-07-10 12:05:23 -07:00
Brian Anderson
57e160b29d 0.2 -> 0.3 2012-07-10 11:53:22 -07:00
Erick Tryzelaar
d0ac1bbfaf libcore: fix task::test_osmain test. 2012-07-10 11:39:59 -07:00
Graydon Hoare
a899e659a0 Makefile nit for distchec. 2012-07-10 11:05:53 -07:00
Brian Anderson
c992645250 Tidy 2012-07-10 10:05:20 -07:00
Brian Anderson
b3b02cd9f6 Merge pull request #2860 from erickt/incoming
Add a task::set_sched_mode function
2012-07-10 09:19:51 -07:00
Brian Anderson
84da9de5b0 tutorial: Remove disclaimer. Redundant with previous section 2012-07-10 09:08:22 -07:00
Erick Tryzelaar
1972ae23e5 libcore: add a task::set_sched_mode fn 2012-07-10 08:45:08 -07:00
Brian Anderson
75db80e233 tutorial: Fix broken example 2012-07-10 00:38:58 -07:00
Brian Anderson
a056aea9d6 tutorial: Minor editing 2012-07-10 00:35:17 -07:00
Brian Anderson
3403e41b2c Use correct markdown in README.md 2012-07-09 22:20:32 -07:00
Brian Anderson
a08c5aa947 Capitalize 'Rust Programming Language' in README.md 2012-07-09 22:18:42 -07:00
Brian Anderson
c92d2ed4c9 Merge README.txt and INSTALL.txt into README.md 2012-07-09 22:14:20 -07:00
Patrick Walton
f7564c7311 tutorial: Expand the failure section a bit 2012-07-09 22:11:52 -07:00
Brian Anderson
0046aac48d Fix link in INSTALL.txt 2012-07-09 21:38:55 -07:00
Brian Anderson
7368e37918 tutorial: Add a better description of vectors 2012-07-09 21:06:22 -07:00
Brian Anderson
0385ae17d3 tutorial: Emphasize GC in shared box section 2012-07-09 21:02:36 -07:00
Brian Anderson
95f6e525d7 tutorial: Minor formatting change in task example 2012-07-09 19:33:42 -07:00
Tim Chevalier
78088fb813 Add test case for issue 2766, which resolve 3 fixes 2012-07-09 19:16:23 -07:00
Brian Anderson
d88497ddf2 tutorial: Overhaul task section 2012-07-09 19:04:30 -07:00
Graydon Hoare
172bf3a038 Back out recognition of caret for unsafe ptr. Decided to abandon #2826 mid way through. 2012-07-09 18:42:06 -07:00
Patrick Walton
f0fe08f1c8 rustc: Handle foreign item purity correctly in resolve3 2012-07-09 18:39:10 -07:00
Paul Stansifer
1bdcba3d74 'cont' -> 'again' in straggler code 2012-07-09 17:44:46 -07:00
Paul Stansifer
b1af6ac6f1 Make the matcher parser treat () in a matchy way, like one would expect. 2012-07-09 17:44:46 -07:00
Paul Stansifer
55e28f6689 Remove the tt macro demo. 2012-07-09 17:44:46 -07:00
Paul Stansifer
54741b9427 Allow defining token tree macros. They should work now! 2012-07-09 17:44:46 -07:00
Paul Stansifer
caa83b41bb Add support for matchers nonterminals. 2012-07-09 17:44:46 -07:00
Paul Stansifer
cabee6391d Enable item macros to define macros. 2012-07-09 17:44:46 -07:00
Paul Stansifer
579768baa5 Allow folds to drop items. 2012-07-09 17:44:46 -07:00
Patrick Walton
7d90edcb3b rustc: Switch over to resolve3 2012-07-09 17:44:16 -07:00
Patrick Walton
6912b11089 rustc: Fix the collision with Tim's change 2012-07-09 17:44:15 -07:00
Patrick Walton
ad673daa6c Revert "rustc: Switch over to resolve3" due to Linux failures
This reverts commit 2c0aa257e2.
2012-07-09 16:50:19 -07:00
Brian Anderson
231bd08407 tutorial: Don't mention the non-existant --no-core switch 2012-07-09 16:42:22 -07:00
Patrick Walton
2c0aa257e2 rustc: Switch over to resolve3 2012-07-09 16:29:25 -07:00
Patrick Walton
2edc4195d5 rustc: Allow import resolutions to be inferred from external crates in resolve3 2012-07-09 16:29:25 -07:00
Brian Anderson
0ee1a7175f tutorial: Generics section cleanup 2012-07-09 16:11:22 -07:00
Graydon Hoare
9b6e90d2b5 Xfail-fast a recent test that doesn't work on check-fast. 2012-07-09 16:08:11 -07:00