about summary refs log tree commit diff
path: root/src/test/auxiliary
AgeCommit message (Collapse)AuthorLines
2012-08-08Convert impls to new syntaxBrian Anderson-17/+15
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-0/+33
2012-08-06test: Modernize and un-XFAIL issue-2242-d.rs (issue #2242)Patrick Walton-5/+5
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-02test: "iface" -> "trait" in filenames.Lindsey Kuper-0/+0
2012-08-01Convert ret to returnBrian Anderson-8/+8
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-3/+3
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-11/+11
2012-07-24Test case for #3005Eric Holk-0/+19
2012-07-23tests: Rename to avoid colliding with real rust-zmq.Erick Tryzelaar-1/+1
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-6/+33
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-14/+14
#2907.
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-1/+1
2012-07-12rustc: Make all impls even more reachableBrian Anderson-0/+28
With this we write metadata for all impls so that we can properly find reexported impls.
2012-07-11Test for #2723. Closes #2723Tim Chevalier-0/+3
2012-07-09Fix metadata serialization of foreign functions. Properly take the value of ↵Josh Matthews-0/+22
foreign functions from other crates to fix #1840.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-13/+13
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-1/+1
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-3/+3
2012-07-01Convert to new closure syntaxBrian Anderson-4/+4
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-7/+7
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-1/+1
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-7/+7
2012-06-25MergeTim Chevalier-1/+1
2012-06-22Remove 'implements' keyword in favour of :, part of #2301.Graydon Hoare-1/+1
2012-06-22Remove resources from remaining test casesTim Chevalier-5/+10
2012-06-20Test for #2242 (xfailed for now)Tim Chevalier-0/+29
2012-06-15Test case for #2631Tim Chevalier-0/+15
2012-06-13Allow impls to be re-exportedTim Chevalier-0/+14
It was a little hard for me to believe, but it seems that re-exporting an impl doesn't work at a, because encoder::encode_info_for_mod requires that all the impls in the current module's impl map be local (that is, bound to a value in the current crate's item map). Fixed it. Closes #2414.
2012-06-13Traverse types in reachabilityTim Chevalier-0/+32
Issue 2526 showed a test case where a library exported only a type that was a synonym for a class. Because the class's destructor wasn't getting marked as reachable, its linkage was wrongly getting set to "internal". The solution is for reachability to traverse types. Closes #2526.
2012-06-12Test case for previous commitTim Chevalier-0/+108
(basically a stripped-down version of comm, and a "driver" that constructs a new port)
2012-06-06minor changes to tests so they pass borrowckNiko Matsakis-9/+9
2012-05-30Adding a test to make sure CCI works with capture clauses.Eric Holk-0/+12
2012-05-29Test case for issue 2380Tim Chevalier-0/+10
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-05-18test for #2378Niko Matsakis-0/+22
2012-05-02report ambig impl methodsNiko Matsakis-0/+1
2012-05-02Encode the ifaces a class implements in metadataTim Chevalier-0/+40
This lets you use class A as if it had type B if A implements B, and A and B are in different crates from your own. Closes #2285
2012-05-01Don't re-export a glob-imported ID when the same ID is defined withinTim Chevalier-0/+19
a module See the test case I added (issue-2316-c) for a concrete example. issue-2316 also contains the originally reported test case. resolve was using bitwise or instead of logical or when checking exports, resulting in excessively eager evaluation. A one-line fix that took six hours to isolate ;-)
2012-04-23encode the borrowing table, add a simple cross-crate borrowing testNiko Matsakis-0/+3
2012-04-21syntax: Eliminate 'mutable' keyword. Closes #2254Brian Anderson-1/+1
2012-04-16test: Add xfailed test for #2196Brian Anderson-0/+21
2012-04-11Test that a class can implement an interface defined in a different crateTim Chevalier-0/+7
2012-04-10Generic classes and generic class methods work cross-crateTim Chevalier-0/+21
Classes can have ty params now. So can methods inside classes. That was probably true before, but now it should still work if you call methods in a class that's defined in a different crate. Yay!
2012-04-10test: Remove duplicated auxliary testsHaitao Li-22/+8
2012-04-09make anything used in a resource body always reachableNiko Matsakis-0/+8
(they appear to be uncond. inlined) Fixes #2170.
2012-04-09test: Don't share auxiliary modulesHaitao Li-6/+20
2012-04-08Check metadata hash when loading transitive dependent cratesHaitao Li-0/+14
Fix issue #2138
2012-04-07rustc: Hash the CMH into symbol namesBrian Anderson-0/+14