| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-19 | Handle predicates that recurse in a check() expression | Tim Chevalier | -0/+2 | |
| typestate was using the enclosing function ID for the "this function returns" constraint, which meant confusion and panic in the case where a predicate p includes "check p()". Fixed it to use a fresh ID. Closes #933 | ||||
| 2012-01-19 | Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. ↵ | Graydon Hoare | -2/+2 | |
| Close #1428. | ||||
| 2012-01-19 | rustc: Make the pretty printer output commas after enum variants. Update all ↵ | Patrick Walton | -95/+95 | |
| tests accordingly. | ||||
| 2012-01-19 | test: "tag" -> "enum" in run-pass and run-fail | Patrick Walton | -83/+83 | |
| 2012-01-19 | Rename fn*() to fn() as originally planned. | Niko Matsakis | -1/+1 | |
| 2012-01-19 | treat fn*() as fn&() | Niko Matsakis | -0/+8 | |
| This is not my ideal way of going about things. I'd prefer not to have expressions typed as fn*(), for example, but I couldn't get that to work together with inferring the modes of arguments and other corner cases. | ||||
| 2012-01-19 | Remove support for the '.' after a nullary tag in a pattern | Tim Chevalier | -22/+22 | |
| (Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.) | ||||
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -6/+6 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-18 | remove align_mode and rewrite GEP_tup_like to align correctly | Niko Matsakis | -0/+18 | |
| Although the old version of GEP_tup_like was incorrect in some cases, I do not believe we ever used it in an incorrect fashion. In particular, it could go wrong with extended index sequences like [0, 1, 3], but as near as I can tell we only ever use it with short sequences like [0, i]. | ||||
| 2012-01-18 | correct use of GEP_tup_like in closure constr | Niko Matsakis | -0/+30 | |
| also, streamline type_is_tup_like() to the cases which actually work | ||||
| 2012-01-17 | Merge pull request #1544 from kevina/issue-1393 | Graydon Hoare | -1/+1 | |
| Minor cleanups to custom discriminator code. | ||||
| 2012-01-17 | encode variant names and have log print them out. | Niko Matsakis | -0/+29 | |
| 2012-01-17 | Allow omission of the '.' after nullary tag patterns | Tim Chevalier | -1/+11 | |
| This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'. | ||||
| 2012-01-16 | Minor cleanups to custom discriminator code. | Kevin Atkinson | -1/+1 | |
| Mostly updates to the comments and docs from Pull Request #1537. | ||||
| 2012-01-16 | Update pretty printer to print out disr. values. | Kevin Atkinson | -0/+16 | |
| Partly fixes issue #1510. "rustc --pretty=typed" fails. | ||||
| 2012-01-15 | rustc: Parse fn inner attributes. Closes #1506 | Brian Anderson | -0/+4 | |
| 2012-01-13 | xfail the tests for now, pending #1511 being fixed | Niko Matsakis | -0/+11 | |
| 2012-01-13 | test: xfail-pretty run-pass/tag-disr-val-shape | Brian Anderson | -0/+1 | |
| 2012-01-13 | Fixes #1499: a test that shape code can walk explicit disr values | Niko Matsakis | -0/+14 | |
| 2012-01-13 | distinguish "any closure" and "stack closure" (block) | Niko Matsakis | -5/+5 | |
| 2012-01-13 | make "native fn" the type for bare functions, remove fn exprs | Niko Matsakis | -3/+3 | |
| 2012-01-13 | deprecate fn exprs and the fn() type, preferring fn@ and native fn | Niko Matsakis | -56/+50 | |
| 2012-01-13 | Remove tests for objs, adjust tests that use objs | Marijn Haverbeke | -842/+3 | |
| 2012-01-12 | make parser disambiguate fn~ at top level correctly | Niko Matsakis | -5/+5 | |
| 2012-01-12 | add tydescs into shape, rewrite walk_fn_contents() | Niko Matsakis | -25/+50 | |
| 2012-01-12 | free uniq data we encounter on the sweep, walk thru them otherwise | Niko Matsakis | -0/+2 | |
| 2012-01-12 | Implement passing cast-to-vtable values as bounded params | Marijn Haverbeke | -1/+5 | |
| Closes #1492 | ||||
| 2012-01-11 | test: xfail-win32 run-pass/too-much-recursion | Brian Anderson | -0/+1 | |
| 2012-01-11 | rt: Add RUST_MAX_STACK env var with 8MB default | Brian Anderson | -42/+54 | |
| Closes #1489 | ||||
| 2012-01-11 | add a log_str() function and allow '%?' in fmt strings to use it | Niko Matsakis | -0/+4 | |
| 2012-01-11 | add section on spawn_connected to tutorial and pull test into file | Niko Matsakis | -0/+18 | |
| 2012-01-10 | update shape code to handle iface instances | Niko Matsakis | -0/+45 | |
| 2012-01-10 | Add support for casting enum-like tags to scalar values. | Kevin Atkinson | -1/+3 | |
| 2012-01-10 | Support explicit discriminant numbers on tag variants. | Kevin Atkinson | -0/+47 | |
| Addresses issue #1393. For now disallow disr. values unless all variants use nullary contractors (i.e. "enum-like"). Disr. values are now encoded in the crate metadata, but only when it will differ from the inferred value based on the order. | ||||
| 2012-01-10 | rename sendfn to fn~, lambda to fn@ | Niko Matsakis | -2/+25 | |
| 2012-01-09 | add rust_task_is_unwinding predicate and do not kill if already unwinding | Niko Matsakis | -3/+13 | |
| 2012-01-09 | Change all uses of 'when' in alt-patterns to 'if' | Austin Seipp | -5/+5 | |
| Issue #1396 | ||||
| 2012-01-09 | Remove proto_sugar and 'lambda' as keyword, commit to fn@. | Graydon Hoare | -14/+14 | |
| 2012-01-09 | Remove leftover comm.rs in std | Marijn Haverbeke | -9/+6 | |
| (The actual comm module lives in core.) | ||||
| 2012-01-08 | modify last use to take into account cap clause, add new test | Niko Matsakis | -1/+24 | |
| 2012-01-06 | plug leak: free shared type descrs recursively, as we ought to | Niko Matsakis | -1/+1 | |
| 2012-01-06 | make size_of and align_of take an optional value | Niko Matsakis | -0/+32 | |
| 2012-01-06 | port over the tests to use the new API | Niko Matsakis | -164/+181 | |
| 2012-01-06 | remove trailing whitespace | Niko Matsakis | -1/+1 | |
| 2012-01-06 | test exposing memory management failure for #1078 | Niko Matsakis | -0/+59 | |
| 2012-01-06 | Fix pretty-printing of ty params in iface methods | Marijn Haverbeke | -2/+0 | |
| 2012-01-06 | Fix bug in method type parameter passing | Marijn Haverbeke | -0/+4 | |
| It would occasionally pass the wrong type parameter, when calling a generic method from a generic impl on a bounded param type. | ||||
| 2012-01-05 | require a non-semi expr acting as a stmt to have unit return type | Niko Matsakis | -33/+24 | |
| 2012-01-05 | make parser handle parenthesized block-sugar exprs properly | Niko Matsakis | -18/+16 | |
| 2012-01-05 | Merge branch 'master' into kmath | Stefan Plantikow | -67/+67 | |
| Conflicts: src/libcore/float.rs | ||||
