Commit Graph

10366 Commits

Author SHA1 Message Date
Tim Chevalier
1e6da7b38d Add another test case for #2288
Added a test case for #2288. It's xfailed for now, pending #2364
2012-05-07 14:43:31 -07:00
Tim Chevalier
1460ea43d2 Add xfailed test case for #2354 2012-05-07 14:43:31 -07:00
Tim Chevalier
4f105e4025 In resolve, visit the path in an iface ref
Necessary to resolve any type arguments in a ref to a parameterized
iface. This meant that, for example:

class A implements B<int> { ...

didn't work before, because the "int" in B's argument wasn't getting
visited, and thus wasn't getting resolved. Now it works.

Partially addresses Issue #2288, but I also want to check that class
ty params can appear as the type arguments to ifaces (for example,

class A<T> implements B<T> {...

should work.)
2012-05-07 14:43:31 -07:00
Tim Chevalier
1226669172 Comment only: add a FIXME on int::abs 2012-05-07 14:43:31 -07:00
Brian Anderson
f717100fc7 rt: Start tasks, ports and scheds at 1, assert when we see 0. Closes #2321 2012-05-07 14:32:36 -07:00
Brian Anderson
1db88e7937 Clarify docs for path::normalize. Closes #2362 2012-05-07 13:38:59 -07:00
Niko Matsakis
8a9df5aa38 make it illegal to implicitly capture mutable variables
this is the final part of #1273
2012-05-07 13:22:42 -07:00
Patrick Walton
d709ed2542 Merge pull request #2336 from tychosci/vim-syntax
Vim syntax update
2012-05-06 11:05:14 -07:00
Tycho Sci
16848becaa vim: Fix syntax of number literals
To follow [3.5.2.2 Number literals] in the reference manual.
2012-05-05 11:43:07 +09:00
Tycho Sci
bbf73bdfc6 vim: Link rustTodo to Todo for highlighting 2012-05-05 10:20:27 +09:00
Tim Chevalier
95a2b5d42f Add test case that checks that class members must be prefixed with "self"
Closes #2289.
2012-05-04 13:44:01 -07:00
Niko Matsakis
50ec6bd2c3 new cap clause syntax 2012-05-04 12:33:08 -07:00
Tim Chevalier
8affc78e8a Turn constants in back::abi into uints, and propagate types
This means GEPi now takes a list of uints. Apologies in advance
if this is hard to rebase against, but it gets rid of many a cast :-)

Also modernized some for loops here and there.
2012-05-03 22:31:38 -07:00
Tim Chevalier
2830bc3d31 Comment only: Annotate FIXMEs in std::time 2012-05-03 17:55:23 -07:00
Tim Chevalier
37f23303e6 Fix compiletest::header::iter_header to work with new-style for loops
Gets rid of a FIXME -- yay!
2012-05-03 17:45:06 -07:00
Tim Chevalier
82d4fe3967 Write unicode::icu::UCHAR_INVALID_CODE as -1, removing a FIXME 2012-05-03 17:45:06 -07:00
Tim Chevalier
97c0b3848d Comments only: annotate more FIXMEs in libstd 2012-05-03 17:45:06 -07:00
Niko Matsakis
a7e0eb3581 allow enums that ref themselves via unsafe pointers 2012-05-03 17:08:18 -07:00
Brian Anderson
c6d33c3d37 core: Add comm::listen 2012-05-03 16:38:16 -07:00
Brian Anderson
13a4b59cc8 core: Add send/recv/peek methods for both ports and chans
Calling peek or recv on channels can fail when the associated port
is dead or unowned.
2012-05-03 16:38:16 -07:00
Brian Anderson
18f898315a core: Reorder declarations in comm so they read well 2012-05-03 16:38:16 -07:00
Brian Anderson
beb1a59f82 core: Add comm::recv_chan to receive from a channel 2012-05-03 16:38:16 -07:00
Tim Chevalier
29b807be2a Removed unused import of std::deque 2012-05-03 15:37:02 -07:00
Tim Chevalier
ca3a9f83f4 Annotate more FIXMES in libstd (comments only) 2012-05-03 15:36:47 -07:00
Tim Chevalier
f029e1f486 Annotate FIXMEs in std::bitv, and remove a FIXME
Changed a while loop into a for loop in std::bitv::equal. Yay!
2012-05-03 15:26:22 -07:00
Niko Matsakis
cfa09d35a3 Revert "allow fn exprs to omit arg types"
This reverts commit 1ba4ca4c4a.
2012-05-03 14:42:34 -07:00
Niko Matsakis
1ba4ca4c4a allow fn exprs to omit arg types
also, avoid using type variables for fn args with omitted types
unless necessary.  This will be important for bound regions in
fn types.

fixes #2093
2012-05-03 14:32:32 -07:00
Graydon Hoare
6e5c8a7fb8 More shape fixes for evecs. 2012-05-03 14:11:54 -07:00
Graydon Hoare
11a5d10bf2 Implement better shape code for evec, estr. 2012-05-03 13:09:02 -07:00
Tim Chevalier
e1fc7d5f01 Comments only: annotate remaining FIXMEs in librustsyntax 2012-05-03 13:05:09 -07:00
Brian Anderson
168a9a82f8 Add Clay license info to LICENSE.txt 2012-05-03 12:50:32 -07:00
Brian Anderson
5955d3c7ad Add LLVM license info to LICENSE.txt 2012-05-03 12:50:32 -07:00
Brian Anderson
2451bb8cea Clean up formatting of LICENSE.txt 2012-05-03 12:50:32 -07:00
Brian Anderson
ba331bd613 Fix paths to libuv in LICENSE.txt 2012-05-03 12:50:32 -07:00
Tim Chevalier
d8f28be753 Check early on in typeck that types being implemented are actually iface types
Closes #2330.
2012-05-03 12:38:45 -07:00
Brian Anderson
74096a79d8 rustc: Fix comment about ABI in trans::native 2012-05-03 12:07:43 -07:00
Brian Anderson
af263e43c2 rustc: Link to original Clay x86 classification code 2012-05-03 11:42:25 -07:00
Jyun-Yan You
bdebe92400 add forgotten index and fix array type 2012-05-03 09:43:00 -07:00
Marijn Haverbeke
d0d71838cd Mention missing constructor when complaining about inexhaustive top-level pattern
It previously, uselessly, only pointed out the constructor when the
inexhaustive pattern was nested in some other pattern.

Closes #2337
2012-05-03 17:35:12 +02:00
Tycho Sci
1e44e04a9d vim: Update syntax for number/float literals 2012-05-03 17:12:46 +09:00
Tycho Sci
94b0edc606 vim: Highlight Todo in comments 2012-05-03 17:02:41 +09:00
Tycho Sci
55de232426 vim: Highlight identifiers 2012-05-03 17:01:33 +09:00
Niko Matsakis
f1129635ee report ambig impl methods 2012-05-02 21:47:14 -07:00
Niko Matsakis
f4cc5ff226 remove extra type parameter from ptr::is_null() and friends 2012-05-02 21:47:14 -07:00
Brian Anderson
358dc59538 test: xfail-win32 run-pass/native-struct 2012-05-02 19:07:35 -07:00
Brian Anderson
11354963b3 rustc: Hack around some FFI bustage. Unbreak servo 2012-05-02 18:35:29 -07:00
Brian Anderson
1e410f6206 rt: Fix some record alignment issues on windows 2012-05-02 18:32:20 -07:00
Brian Anderson
e2910bf264 Revert "rt: Fix some record alignment issues on windows"
This reverts commit a2457f5864.
2012-05-02 18:25:22 -07:00
Brian Anderson
a2457f5864 rt: Fix some record alignment issues on windows 2012-05-02 17:55:58 -07:00
Brian Anderson
264f900dfa build: Start running core tests on windows 2012-05-02 17:51:12 -07:00