Armin Ronacher
1f80b9b90a
Added testcase for the missing do compile note
2012-07-02 17:33:57 -07:00
Armin Ronacher
5bd9d6e05c
Implemented better error message for missing do statements.
...
This fixes #2783 for the case where an empty double pipe
symbol is being used without a do keyword.
2012-07-02 17:33:57 -07:00
Brian Anderson
1bd4e35dd8
configure: Don't turn on rustc's -g with --enable-debug
...
-g is super-buggy
2012-07-02 17:22:49 -07:00
Brian Anderson
9fe22a4ab7
Mark -g as experimental ( #2767 )
2012-07-02 17:22:49 -07:00
Lindsey Kuper
d90a1dee43
Start sketching some traitorous code (xfail'd)
2012-07-02 17:12:30 -07:00
Brian Anderson
18ac4eee3b
std: Ignore a test that doesn't terminate on windows
2012-07-02 16:50:47 -07:00
Brian Anderson
43def0677a
tutorial: More updates for closures
2012-07-02 16:32:19 -07:00
Brian Anderson
47f43da376
Merge branch 'doc-comments'
2012-07-02 15:31:33 -07:00
Brian Anderson
569467eb0d
Merge remote-tracking branch 'Dretch/prettydocs'
...
Conflicts:
src/compiletest/errors.rs
src/libsyntax/parse/attr.rs
src/libsyntax/parse/comments.rs
src/test/compile-fail/ambig_impl_unify.rs
src/test/compile-fail/assign-super.rs
src/test/compile-fail/bad-for-loop.rs
src/test/compile-fail/bad-var-env-capture-in-block-arg.rs
src/test/compile-fail/block-arg-as-stmt-with-value.rs
src/test/compile-fail/borrowck-assign-comp-idx.rs
src/test/compile-fail/borrowck-lend-flow.rs
src/test/compile-fail/borrowck-loan-blocks-move-cc.rs
src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
src/test/compile-fail/borrowck-loan-rcvr.rs
src/test/compile-fail/borrowck-loan-vec-content.rs
src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs
src/test/compile-fail/cap-clause-with-stack-closure.rs
src/test/compile-fail/do1.rs
src/test/compile-fail/do2.rs
src/test/compile-fail/empty-vec-trailing-comma.rs
src/test/compile-fail/evec-subtyping.rs
src/test/compile-fail/issue-1896.rs
src/test/compile-fail/issue-2149.rs
src/test/compile-fail/issue-2150.rs
src/test/compile-fail/issue-2487-b.rs
src/test/compile-fail/kindck-implicit-close-over-mut-var.rs
src/test/compile-fail/liveness-issue-2163.rs
src/test/compile-fail/liveness-use-in-index-lvalue.rs
src/test/compile-fail/no-reuse-move-arc.rs
src/test/compile-fail/no-send-res-ports.rs
src/test/compile-fail/non-const.rs
src/test/compile-fail/pure-higher-order.rs
src/test/compile-fail/pure-loop-body.rs
src/test/compile-fail/regions-addr-of-upvar-self.rs
src/test/compile-fail/regions-escape-loop-via-vec.rs
src/test/compile-fail/regions-scoping.rs
src/test/compile-fail/seq-args.rs
src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs
src/test/compile-fail/tstate-unsat-in-fn-expr.rs
src/test/compile-fail/vec-add.rs
src/test/compile-fail/vec-concat-bug.rs
src/test/compile-fail/vector-no-ann.rs
2012-07-02 15:23:41 -07:00
Lindsey Kuper
7a4ebcefcb
Update nbody benchmark to more idiomatic Rust; nix obsolete comments
2012-07-02 15:20:59 -07:00
Ben Blum
eb28b768af
dlist should_fail tests ignore(cfg(windows))
2012-07-02 18:08:09 -04:00
Ben Blum
67b9d82847
vim syntax: add drop & rustString contains rustTodo
2012-07-02 18:00:43 -04:00
Brian Anderson
3c6a5385d6
std: Add missing cfg attr for freebsd
2012-07-02 14:32:15 -07:00
Brian Anderson
6d411342c6
Merge remote-tracking branch 'brson/uv'
...
Conflicts:
src/libstd/net_ip.rs
src/libstd/net_tcp.rs
2012-07-02 14:03:38 -07:00
Ben Blum
3ced5b0da2
add dlist.rs should_fail tests
2012-07-02 16:47:55 -04:00
Ben Blum
510af4dadb
vim syntax: don't hilight foo::<T>() like a module
2012-07-02 16:03:44 -04:00
Ben Blum
3777a14f08
Add doubly-linked list to libcore (to be used in task.rs).
2012-07-02 16:03:38 -04:00
Ben Blum
5b41592f21
Make list::from_vec take a slice, not a ~.
2012-07-02 15:49:46 -04:00
Ben Blum
dc93814bf9
minor updates to vim config files
2012-07-02 15:48:59 -04:00
Erick Tryzelaar
c74b3fd634
Treat "do" as a keyword in vim
2012-07-02 09:06:30 -07:00
Brian Anderson
b446ea8710
tutorial: Some work on closures
2012-07-02 00:14:25 -07:00
Brian Anderson
129de96023
Add 'do' to rust-mode
2012-07-01 23:09:22 -07:00
Brian Anderson
9743757113
syntax: Support dropping argument list from for/do
2012-07-01 22:36:24 -07:00
Brian Anderson
fa6a446e6c
Add two tests, one xfailed, for inferring lambda kinds in return position
2012-07-01 19:19:36 -07:00
Brian Anderson
494264711d
syntax: Stop parsing old closure syntax
2012-07-01 19:19:36 -07:00
Brian Anderson
d1fc2b5995
Convert to new closure syntax
2012-07-01 19:19:32 -07:00
Brian Anderson
13a8f54538
syntax: Pretty print new closures correctly
2012-07-01 17:53:07 -07:00
Brian Anderson
3155d170ad
syntax: Fix lambda parsing following 'ret'
2012-06-30 21:20:36 -07:00
Brian Anderson
45ccaf04c4
Register snapshots
2012-06-30 19:22:31 -07:00
Brian Anderson
1c13507f80
Temporary FreeBSD snapshot
2012-06-30 17:55:45 -07:00
Brian Anderson
ed834f0629
syntax: Add support for new lambda syntax
2012-06-30 16:01:52 -07:00
Brian Anderson
0293a31b68
Remove old sugared call syntax
2012-06-30 16:01:52 -07:00
Brian Anderson
a3382b6f26
Eliminate usages of old sugared call syntax
2012-06-30 16:01:49 -07:00
Brian Anderson
8b2491160d
syntax: Pretty-print 'do' correctly
2012-06-30 14:24:24 -07:00
Ben Striegel
ba6f71f1b8
Properly highlight nested comments in vim
...
Prior to this commit, every block comment /* */ required two closing tags for
every opening tag in order to terminate the highlighting. Setting and testing
for a variable was the culprit, though I'm not certain why, but they appear to
just be boilerplate lines from whatever pcwalton based this file upon. I've
looked at other officially-distributed vim highlighting files and none seem to
do the test that this commit removes, so I'm fairly certain it didn't provide
anything vital. And now comment highlighting works!
2012-06-30 14:17:17 -07:00
Brian Anderson
e2c70161f0
Fix combine-tests.py for new vec syntax
2012-06-30 13:59:54 -07:00
Tim Chevalier
172fb1756b
Check in changes I forgot to check in
2012-06-30 09:12:45 -07:00
Gareth Daniel Smith
29eb788b1f
make script executable
2012-06-30 12:31:24 +01:00
Gareth Daniel Smith
6d86969260
change the test suite //! kind
syntax to //~ kind
in order to avoid a
...
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
2012-06-30 12:23:59 +01:00
Gareth Daniel Smith
0b653ab953
initial draft of fix for issue #2498 :
...
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes.
2. add a script in etc/ to help converting doc-attributes to doc-comments
3. add some functions to core::str to help with (1)
2012-06-30 11:54:54 +01:00
Tim Chevalier
f64c23fdfd
Descend into ty_boxes in type_use
...
type_use was failing to look into ty_boxes, which caused monomorphize
to coalesce instances that shouldn't have been coalesced (because they
should actually use different type glue)
Closes #2734
2012-06-30 00:34:03 -07:00
Eric Holk
328fd30cf4
Allow empty enums to be sent ( #2737 )
2012-06-29 18:39:27 -07:00
Eric Holk
0a99912cdd
Adding a bunch of atomic intrinsics.
...
Adding a test cases for the atomic intrinsics.
2012-06-29 18:37:29 -07:00
Lindsey Kuper
3b5d76d1e3
Reindent 0.3 release notes to match the 0.1 and 0.2 indentation :)
2012-06-29 18:30:21 -07:00
Michael Sullivan
98e161f00e
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759 .
2012-06-29 17:41:45 -07:00
Brian Anderson
483aee8dc4
Ignore various uv tests that fail
2012-06-29 17:16:16 -07:00
Jeff Olson
a3c933e0a0
std: uv::ll fixes for 32bit linux
2012-06-29 15:41:56 -07:00
Jeff Olson
087c4244b1
std: adding some basic docs for net::ip::get_addr
2012-06-29 15:41:56 -07:00
Jeff Olson
a696193bab
std: cleanups, post-rebase
2012-06-29 15:41:56 -07:00
Jeff Olson
cfcd3e683b
std/rt: cleanup and adding sockaddr_in6 mapping for win32
2012-06-29 15:41:56 -07:00