Patrick Walton
599b4208fb
rustc: Translate tuple struct constructors
2012-10-25 11:49:26 -07:00
Patrick Walton
ce23a99925
libcore: Make a few more dvec functions inline. Improves profile of Servo. rs=me
2012-10-25 10:23:37 -07:00
Brian Anderson
b2d5acd6bc
Merge remote-tracking branch 'brson/futures'
2012-10-24 20:29:01 -07:00
Brian Anderson
d82ddc280c
Long lines
2012-10-24 20:28:39 -07:00
Niko Matsakis
c6ed01cab3
adjust comments
2012-10-24 18:56:31 -07:00
Niko Matsakis
8468c40fde
Workaround #3850
2012-10-24 18:56:31 -07:00
Niko Matsakis
1a3a70760b
Implement proper subtyping for region fn types (part of #2263 )
2012-10-24 18:56:31 -07:00
Brian Anderson
a66e01369d
Merge pull request #3852 from veddan/type-limits
...
Lint pass like GCC's -Wtype-limits (#3833 )
2012-10-24 14:38:49 -07:00
Brian Anderson
3b6f5a18a2
Merge branch 'method-vis-parse'
...
Conflicts:
src/libsyntax/parse/parser.rs
2012-10-24 12:15:21 -07:00
Patrick Walton
4da58a5bd6
rustc: Implement typechecking for tuple structs. r=nmatsakis
2012-10-24 10:54:09 -07:00
Viktor Dahl
0707780eac
Added compile-fail tests
2012-10-24 19:14:50 +02:00
Viktor Dahl
87b5f05a9d
Cleaned up formatting and fixed bug in rev_binop
2012-10-24 18:44:37 +02:00
Viktor Dahl
9d915294c9
Implemented '-W type-limits' ( #3833 )
2012-10-24 18:44:37 +02:00
Mahmut Bulut
27fb3fe90d
stage2 run-pass test for #3753
2012-10-24 18:32:36 +03:00
Mahmut Bulut
21cbc310c7
Make check & Tidy
2012-10-24 16:51:33 +03:00
Patrick Walton
61bb3571a5
rustc: Implement construction of monomorphic struct-like variants. r=nmatsakis
2012-10-23 19:23:46 -07:00
Brian Anderson
d29962f0eb
Move futures to std
2012-10-23 14:46:49 -07:00
Brian Anderson
f500f3f1fb
core: Remove remaining use of Future
2012-10-23 14:21:15 -07:00
Brian Anderson
3e4b2bd2b2
core: Use PortOne instead of Future in future_result
2012-10-23 14:21:15 -07:00
Brian Anderson
f6d2a71436
core: Remove the unused Notification enum
2012-10-23 14:21:15 -07:00
Brian Anderson
b6bde885dc
core: Use less code for option dancing that notification channel
2012-10-23 14:21:15 -07:00
Brian Anderson
84c8549622
core: Replace future_pipe with pipe::oneshot
2012-10-23 14:21:15 -07:00
Brian Anderson
50f9925fab
core: Give future_pipe the same definition as pipes::oneshot
2012-10-23 14:21:15 -07:00
Brian Anderson
759e1c165f
rt: Remove unused string upcalls harder
2012-10-23 13:48:09 -07:00
Brian Anderson
8d932160d9
rt: Remove box annihilator
2012-10-23 12:14:46 -07:00
Brian Anderson
a469a3524d
rt: Remove unused string upcalls
2012-10-23 12:14:45 -07:00
Tim Chevalier
087cbb55d0
Remove <- operator from the compiler
...
Yield an obsolete syntax error on things like "let foo <- bar;"
and "foo <- bar;" r=brson
Progress on #3466
2012-10-23 12:10:19 -07:00
Tim Chevalier
48c8d1fecd
Remove uses of binary move in the compiler
2012-10-23 12:10:04 -07:00
Tim Chevalier
46fef3d601
Don't generate move-by-init in AST builder
2012-10-23 12:10:04 -07:00
Tim Chevalier
11e92f37c1
Remove uses of binary move - <- - from tests and libraries
2012-10-23 12:10:03 -07:00
Patrick Walton
3bf0a9b094
rustc: Implement typechecking for simple monomorphic derivable traits on monomorphic types. r=brson
2012-10-23 10:45:23 -07:00
Brian Anderson
575950d12c
rustc: Lower-case the error messages in kind.rs, for consistency
2012-10-23 10:41:33 -07:00
Mahmut Bulut
2985b8e552
* Parsing sequence changed
...
1- visibility parse
2- purity parse
2012-10-23 09:42:30 +03:00
Brian Anderson
ce1466fbe5
Tidy
2012-10-22 21:46:30 -07:00
Brian Anderson
b2af873b76
Merge remote-tracking branch 'luqmana/incoming'
2012-10-22 21:44:53 -07:00
Luqman Aden
ed447a7447
Fix compare_and_swap to not break tests.
2012-10-23 00:03:56 -04:00
Brian Anderson
f7c6f867b3
core: Add Result.get_ref method
2012-10-22 18:31:22 -07:00
Graydon Hoare
a605416bb4
core: add condition.raise_default.
2012-10-22 18:22:21 -07:00
Patrick Walton
1048f9abfa
rustc: Factor out struct literal typechecking in preparation for struct-like enum variants
2012-10-22 18:00:55 -07:00
Patrick Walton
ec1c60c4d6
rustc: Implement generic cross-crate trait inheritance
2012-10-22 18:00:48 -07:00
Graydon Hoare
705afcd844
core: settle on the trap/in condition convention for now. Implement proper re-raising.
2012-10-22 17:26:36 -07:00
Brian Anderson
586b22a179
Merge pull request #3832 from Dretch/concatdocstrs
...
Fix and test for issue #3780 .
2012-10-22 14:17:02 -07:00
Brian Anderson
763a8e7b47
xfail-fast issue-3656
2012-10-22 14:04:22 -07:00
Brian Anderson
5a86f5d084
rustc: Convert two printlns in trans into debug!
2012-10-22 13:33:44 -07:00
Gareth Daniel Smith
7947bb1732
Fix and test for issue #3780 .
2012-10-22 20:56:00 +01:00
Brian Anderson
64e1ecb939
Long lines
2012-10-22 12:02:55 -07:00
Brian Anderson
2eea07be11
Merge pull request #3826 from jdm/doublefail
...
Fix ICE stemming from use of unique pointers in unreachable blocks.
2012-10-22 11:32:30 -07:00
Tim Chevalier
14e7df7d1a
Fix breakage (forgot to commit this...
2012-10-22 10:54:23 -07:00
Tim Chevalier
dca0776747
Incorporate review comments (mostly fixing indentation)
...
Previous commit was r=nmatsakis
2012-10-22 09:44:56 -07:00
Tim Chevalier
dd66e7549b
Preliminary support for labeled break/continue for loop
s
...
This patch adds preliminary middle-end support (liveness and trans)
for breaks and `loop`s to `loop` constructs that have labels.
while and for loops can't have labels yet.
Progress on #2216
2012-10-22 09:20:37 -07:00