Commit Graph

14200 Commits

Author SHA1 Message Date
Patrick Walton 833eb7ae1d test: Fix borrowck-preserve-box-in-pat. rs=bustage 2012-12-07 22:42:49 -08:00
Patrick Walton 374ccfee9a test: Fix borrowck-preserve-box-in-discr; more fallout from pattern bindings. rs=bustage 2012-12-07 22:00:55 -08:00
Patrick Walton 6338865741 test: Remove alt-implicit-copy.rs test. Incompatible with current borrow check semantics. rs=bustage 2012-12-07 21:59:38 -08:00
Patrick Walton 6157f1dc06 test: Fix some busted run-pass tests, fallout from the pattern bindings change. rs=bustage 2012-12-07 21:56:46 -08:00
Patrick Walton e9e3d02b7d libcore: Fix Windows-only pattern in run.rs. rs=bustage 2012-12-07 21:52:39 -08:00
Tim Chevalier 13c7b97248 Add test for #2995 2012-12-07 21:40:42 -08:00
Tim Chevalier 8255aa1ec9 Add test case for #2828 2012-12-07 21:29:49 -08:00
Tim Chevalier 7b37730598 Make short flags with a single-char arg work in getopts
This looks like a big patch, but it's mostly just modernization.
The real change is in the fn called `getopts`, the line
                       if arg_follows && j < curlen {

Minor bugfix, no review.

Closes #2822
2012-12-07 20:38:40 -08:00
Patrick Walton 98fdcb0b9d librustc: De-mode pattern bindings. r=nmatsakis 2012-12-07 19:34:57 -08:00
Patrick Walton 184f5102b3 libsyntax: Fix parsing of module-qualified structure patterns. rs=bugfix 2012-12-07 19:10:16 -08:00
Brian Anderson cb7996a565 Fix windows installer license file 2012-12-07 18:45:55 -08:00
Patrick Walton ab3b752906 librustc: Implement "&mut [T]" as an expression. r=brson 2012-12-07 18:29:10 -08:00
Brian Anderson 87f3ea7705 Fix pretty-printing of trait constraints 2012-12-07 17:55:34 -08:00
Brian Anderson e5e6d3c43d Long lines 2012-12-07 16:48:55 -08:00
Brian Anderson 10c9d7921d Trait constraints are separated by space, not comma 2012-12-07 15:54:17 -08:00
Brian Anderson ecdc8aae41 Remove impl_id from trait_ref. Unused 2012-12-07 15:54:17 -08:00
Brian Anderson 2fcf562d16 Add an auto-slice-and-ref step to method lookup. Allows ~[T] to work with explicit self 2012-12-07 15:29:38 -08:00
Brian Anderson e71081ec03 Merge pull request #4101 from brson/bound-default-methods
Call default methods on bound typarams more correctly
2012-12-07 15:10:57 -08:00
Brian Anderson 3bcc9de828 Long lines 2012-12-07 15:08:09 -08:00
Brian Leibig 28027d3838 Add :load command to REPL that can compile and load external libraries 2012-12-07 14:54:10 -08:00
Graydon Hoare bbc04dbb24 doc: fix busted doctest, r=burningtree. 2012-12-07 14:40:56 -08:00
Graydon Hoare d78053ecb0 syntax: try to fix pattern printing yet again, r=burningtree. 2012-12-07 14:39:47 -08:00
Brian Anderson 4a3170a24c Update dist rules for license changes harder 2012-12-07 14:39:40 -08:00
Brian Anderson 9f46cf1647 Update dist rules for license changes 2012-12-07 14:37:01 -08:00
Graydon Hoare 28cce241dc syntax: try to fix pattern printing harder, r=burningtree. 2012-12-07 12:52:01 -08:00
Graydon Hoare 5bdbfa41e6 syntax: pretty print bind_by_value patterns as "copy", r=burningtree. 2012-12-07 12:29:46 -08:00
Graydon Hoare b4401d12a7 bench: fix nbody bugs, r=burningtree. 2012-12-07 12:21:30 -08:00
Graydon Hoare bcde593d3a RELEASES: tweak description of new quoter. 2012-12-07 11:21:31 -08:00
Graydon Hoare 09573ea8cf syntax: stage0-guard uses of #ast, rewrite as quote_foo! in stage1,2. 2012-12-07 11:21:14 -08:00
Graydon Hoare a6fcfd726b syntax: fix missing push in item macro expansion 2012-12-07 11:21:14 -08:00
Graydon Hoare 70e0c6e27d syntax: Permit splicing anything into a quote that implements ToTokens. 2012-12-07 11:21:14 -08:00
Graydon Hoare 7e9872058e syntax: fix quote_type! to quote_ty! 2012-12-07 11:21:14 -08:00
Graydon Hoare d45cb27901 syntax: point quote tokens at the site of quote-using-extension invocation. 2012-12-07 11:21:14 -08:00
Graydon Hoare 9f27bf7deb syntax: fix the accidental binding of interner state between parse and quote. 2012-12-07 11:21:14 -08:00
Graydon Hoare 65db4315ab syntax: fix a pp bug on foreign mods. 2012-12-07 11:21:14 -08:00
Tim Chevalier 58a4a3700d Revert "Print copy patterns correctly"
This reverts commit ea6819637382e7f8979766b954dd2a1922d0dee0.
2012-12-06 22:36:32 -08:00
Tim Chevalier f070e22360 Print copy patterns correctly 2012-12-06 21:53:25 -08:00
Tim Chevalier 7a365e4aa4 make bblum happy 2012-12-06 21:53:25 -08:00
Tim Chevalier 35f36808ff Test cases, some xfailed 2012-12-06 21:53:14 -08:00
Tim Chevalier 10ec058638 Remove obsolete comment 2012-12-06 21:52:50 -08:00
Tim Chevalier b4501f4c64 Document pattern ranges a little more
Patches for further documentation of them welcome, but this
is good enough for now.

Closes #1107
2012-12-06 21:52:50 -08:00
Tim Chevalier 31a4f40329 Remove compile-fail test from run-pass 2012-12-06 21:52:50 -08:00
Tim Chevalier dd80f7e06e Xfail trait-inheritance-overloading-xc-exe
Issue #4135
2012-12-06 21:52:50 -08:00
Brian Anderson 791f976e8c Remove hack to not use type_use on x86 2012-12-06 19:45:32 -08:00
Patrick Walton cf3972e95a librustc: Propagate type uses correctly from method calls to the containing functions. rs=bugfix
This adds a new script, `monodebug.pl`. It can be used to diagnose problems stemming from incorrect combining of monomorphic generic instantiations.
2012-12-06 19:11:51 -08:00
Brian Anderson ddfd1eaeb5 Use fuzzy_eq in run-pass/intrinsics-math.rs 2012-12-06 18:55:10 -08:00
Brian Anderson 098f71d348 xfail-fast static-fn-inline-xc. needs aux-build 2012-12-06 18:44:26 -08:00
Tim Chevalier d2ad028a7c Rename std::ebml::Reader => std::ebml::reader, same for writer
Closes #4076
2012-12-06 16:14:54 -08:00
Tim Chevalier fe9a339939 Add various test cases, mostly xfailed 2012-12-06 16:14:54 -08:00
Tim Chevalier 0027874218 Remove bogus FIXME, closes #2889 2012-12-06 16:14:54 -08:00