aboutsummaryrefslogtreecommitdiff
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Move the option type to its own modulePatrick Walton2010-11-051-1/+1
|
* Fix buggy while and do-while translation in rustc. Add test.Graydon Hoare2010-11-041-0/+14
|
* Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare2010-11-027-13/+13
| | | | impure-effect checking.
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-0222-42/+42
|
* rustboot: Emit an error instead of asserting in trans when a T is passed by ↵Patrick Walton2010-10-289-15/+15
| | | | value
* Change vec slice to use uint, add push/pop/shift/unshift.Graydon Hoare2010-10-221-14/+14
|
* line length police; moved comp.util.bits to std.bitvDave Herman2010-10-211-0/+297
|
* Typecheck tags in "alt" patternsPatrick Walton2010-10-142-0/+24
|
* Fix crasher in rustc.Graydon Hoare2010-10-141-0/+5
|
* Fetch typarams from the outermost item frame, when inside an iter-block. One ↵Graydon Hoare2010-10-131-0/+16
| | | | less crash in rustc.
* Teach bind to actually bind typarams, as it claims to.Graydon Hoare2010-10-101-0/+8
|
* Sketch out #fmt syntax extension in rustboot.Graydon Hoare2010-10-012-0/+5
|
* Fix bug in bind thunks failing top drop unbound args; add test and adjust ↵Graydon Hoare2010-09-301-0/+8
| | | | rustc to use bind again.
* Drop slots on block exits even when blocks have no statements. Part way to ↵Graydon Hoare2010-09-301-0/+11
| | | | fixing bind leakage in rustc.
* Initial check-in of 99 Bottles Of BeerPeter Hull2010-09-306-0/+269
| | | | using different methods (simple, iterator, tail-call, pattern match)
* implemented break for while-loop caseOr Brostovski2010-09-301-0/+15
| | | | | | | | | | | | | | ast.ml - added break and cont statements item.ml - added break and cont statements lexer.mll - added break and cont statements token.ml - added break and cont statements trans.ml - implemented the break statement for the while-loop case - replaced hash table accesses with get_stmt_depth where needed type.ml = added break and cont statements typestate.ml - implemented the break statement for the while-loop case - added shorthand filter_live_block_slots walk.ml - added break and cont statements while-with-break.rs - code for testing while loops
* Closed issue 154 - prevents compiler from compiliing a line to zero statementsOr Brostovski2010-09-301-0/+7
|
* Add some basic string functions: index, rindes, find, substr, split, concat, ↵Graydon Hoare2010-09-221-0/+84
| | | | connect.
* Fix linear for loops on strings to not hit trailing null.Graydon Hoare2010-09-221-4/+1
|
* Implement preliminary form of structured compare. No boxes, vectors or ↵Graydon Hoare2010-09-211-0/+20
| | | | strings yet.
* Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare2010-09-2012-38/+40
| | | | translate 0-ary constructors as constants. Rustc loses ~300kb.
* Add issue #163 testcase to str-append testcase.Roy Frostig2010-09-201-1/+23
|
* Check for infinitely sized tags. Un-XFAIL ↵Patrick Walton2010-09-161-2/+5
| | | | test/compile-fail/infinite-tag-type-recursion.rs.
* Add Peter Hull's contributed translation of the fasta shootout benchmark ↵Graydon Hoare2010-09-152-1/+131
| | | | (integer-only version).
* Translate const uses via runtime expression evaluation.Graydon Hoare2010-09-141-0/+1
|
* Teach front-end about simple, first-cut version of const items.Graydon Hoare2010-09-141-0/+4
|
* Fix leaking arg slots on tail calls. Closes #160.Graydon Hoare2010-09-131-0/+11
|
* Fix a leak when box types are used via type descriptors.Graydon Hoare2010-09-121-0/+7
|
* Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare2010-09-0916-26/+84
| | | | work, possibly a little bumpy. Changes a lot.
* Fixed race in the rust kernel.Michael Bebenita2010-09-071-1/+2
|
* Small updates to test cases.Michael Bebenita2010-09-074-3/+9
|
* Add hashmap tests exercising strings as keys and values. No longer leaks on ↵Roy Frostig2010-09-071-37/+95
| | | | linux.
* Test multi-ref'ed vec growth more seriously than before.Roy Frostig2010-09-031-0/+63
|
* Fix rust_vec constructor assertion failure caused by slow path of ↵Roy Frostig2010-08-311-1/+16
| | | | upcall_vec_grow. Add testcase.
* Modify alt-pattern-drop.rs to also insure the slot bound in the pattern ↵Roy Frostig2010-08-271-4/+10
| | | | doesn't also get dropped (again) at the end of the block containing the alt.
* Tiny change to tighten up alt-pattern-drop.rs test.Roy Frostig2010-08-271-1/+1
|
* Have alt-pattern drop the slots it initializes when binding slot patterns. ↵Roy Frostig2010-08-271-0/+19
| | | | Add a testcase for this as well.
* Comment out hashmap tests exercising maps with str as key or value type, as ↵Roy Frostig2010-08-271-0/+2
| | | | they appear to cause leaks.
* Add simple hashmap tests exercising maps with str as key type, value type, ↵Roy Frostig2010-08-271-15/+85
| | | | and both.
* Pinching myself for certainty. ;pRoy Frostig2010-08-261-0/+4
|
* Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig2010-08-261-7/+129
| | | | forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
* Make vreg constrs per-quad, regfence on nontrivial constrs, back out ↵Graydon Hoare2010-08-261-0/+10
| | | | workaround to _uint, add regression test. Closes #152.
* Add automatic parameter instantiation. Closes #45.Patrick Walton2010-08-261-0/+11
|
* When copying function values, null out the destination's binding iff the ↵Roy Frostig2010-08-261-14/+10
| | | | source's binding is null.
* Test the hashmap for growth and rehashing.Roy Frostig2010-08-261-2/+69
|
* Workaround issue #152 in _uint.next_power_of_twoRoy Frostig2010-08-261-0/+47
|
* Insure bools remain 0x1 or 0x0 by having boolean-NOT not just be a simple ↵Roy Frostig2010-08-251-0/+15
| | | | bit-NOT.
* Merge obj-drop and closure-drop code, handles freeing bound exteriors now.Graydon Hoare2010-08-251-0/+8
|
* Fix edge case in uint->string conversion.Graydon Hoare2010-08-251-0/+1
|
* Fix ghastly typestate bug breaking nested functions.Graydon Hoare2010-08-251-0/+1
|