aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Teach AST, parser, folder about iter items.Graydon Hoare2011-01-214-15/+35
|
* Re-XFAIL integral-indexing.rs. Seems OSX and linux still don't like it.Graydon Hoare2011-01-211-1/+0
|
* Un-XFAIL 7 tests that have begun working on rustc lately. Fix one bug in ↵Graydon Hoare2011-01-212-2/+9
| | | | mlist.rs.
* First cut at translating const items. Support the literal forms at least. ↵Graydon Hoare2011-01-212-26/+75
| | | | Un-XFAIL const.rs.
* Merge remote branch 'espindola/params'Graydon Hoare2011-01-211-10/+40
|\
| * Change the return type of the getter method so that we can get to the typeRafael Ávila de Espíndola2011-01-211-10/+40
| | | | | | | | params.
* | Fix bug in trans_for, un-XFAIL linear-for-loop.rs.Graydon Hoare2011-01-212-1/+2
| |
* | First cut of trans_for.Graydon Hoare2011-01-211-0/+38
| |
* | Tweak effect-checking rules in rustboot, remove/rewrite/re-auth impure cases ↵Graydon Hoare2011-01-213-183/+221
| | | | | | | | in trans.rs
* | M-x indent-region on trans.rs.Graydon Hoare2011-01-211-27/+35
|/
* Teach ty and typeck about linear for loops.Graydon Hoare2011-01-202-30/+56
|
* Fix typo in fold.Graydon Hoare2011-01-201-1/+1
|
* Teach resolve about linear for loops.Graydon Hoare2011-01-201-2/+26
|
* Adjust AST encoding, teach fold about linear for loops.Graydon Hoare2011-01-203-12/+39
|
* typoRafael Ávila de Espíndola2011-01-201-1/+1
|
* Teach ast and parser about linear for expressions.Graydon Hoare2011-01-202-28/+56
|
* Implement dynamic GEP enough to permit expr_field to work on tup(T,T,T).Graydon Hoare2011-01-194-2/+139
|
* Look at the type params of an item_ty when resolving.Rafael Ávila de Espíndola2011-01-193-1/+14
|
* Fold function output and argument types. With this change we fail to compileRafael Ávila de Espíndola2011-01-191-3/+15
| | | | | | | type lteq[T] = fn(&T a) -> bool; with "unresolved name: T". Before we would silently get to the type checker and assert in a unresolved ty_path.
* Change generic-drop-glue.rs to be meaningful again, and un-XFAIL on rustc.Graydon Hoare2011-01-182-3/+3
|
* Twiddle comment.Graydon Hoare2011-01-181-1/+1
|
* Fix bug (I think) when unifying ty_local and ty_param.Graydon Hoare2011-01-181-1/+13
|
* One last refactoring of the import handling:Rafael Ávila de Espíndola2011-01-184-88/+121
| | | | | | | | | | | | | * Create an import resolving stage. Currently this involves a copy of the ast, we can probably revisit this once we revisit doing full copies of the ast in general. * Don't repeat work. Once we resolve a import, put it on a hash table and use it next time we are asked for it. This solves a O(n^2) behaviour in degenerated cases. * Once import resolution is done, the target of an import is stored on the import itself.
* Add bzero glue and preliminary code for dynamic size/align calculations.Graydon Hoare2011-01-182-15/+174
|
* Add Benjamin to AUTHORS.Graydon Hoare2011-01-171-0/+1
|
* fixed typo in tuple menu labelbenjaminjackman2011-01-171-1/+1
|
* Fix missing case in ty.Graydon Hoare2011-01-171-0/+5
|
* Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.Graydon Hoare2011-01-172-32/+66
|
* Make legal and un-XFAIL generic-fn-infer.rs (on both compilers).Graydon Hoare2011-01-172-2/+2
|
* Fix a couple bugs in parametric returns.Graydon Hoare2011-01-171-11/+11
|
* Allocate and reload retslots. Copy into them on polymorphic returns.Graydon Hoare2011-01-171-19/+35
|
* Enable more tests.Rafael Ávila de Espíndola2011-01-173-2/+4
|
* Whitespace cleanup.Graydon Hoare2011-01-171-9/+9
|
* Fix the last known (to me) bug in import resolution. We were not properlyRafael Ávila de Espíndola2011-01-173-12/+47
| | | | | dropping the inner part of the environment when an intermediate item resolved in an outer scope.
* Teach copy_ty to finish via memcpy of tydesc-provided size.Graydon Hoare2011-01-171-11/+24
|
* Some misc cleanups:Rafael Ávila de Espíndola2011-01-171-25/+26
| | | | | * Remove unused argument * Move option.t wrapping to outer functions.
* Pass tydescs to parametric fns, along with (dummy, presently) retptr when ↵Graydon Hoare2011-01-141-66/+82
| | | | needed. Can call simple parametric fn now.
* Further corrections to the logging layer in runtime.Graydon Hoare2011-01-144-6/+8
|
* Fix the import handling in "complex" cases. When looking a.b.c and 'a' is aRafael Ávila de Espíndola2011-01-144-5/+46
| | | | | | | module, we should look for 'b' *just* in the module 'a' and then continue resolving b.c in the environment created by updating *with* a. Still not 100% correct, but getting there.
* Expand generic info in lval_result.Graydon Hoare2011-01-141-12/+17
|
* Trim long lines.Graydon Hoare2011-01-141-2/+2
|
* Pass tydescs to parametric fns.Graydon Hoare2011-01-141-6/+33
|
* Change log buffer butes to a symbolic const in runtime.Graydon Hoare2011-01-145-11/+15
|
* Make lookup non recursive and instead move the recursion just toRafael Ávila de Espíndola2011-01-142-60/+90
| | | | | find_final_def. Use the fact that the recursion is in a simpler function to detected import loops and exit.
* Change single-ident expr_ident to greedy/fat multi-ident expr_path, to ↵Graydon Hoare2011-01-137-98/+170
| | | | handle the module-path/value-indexing distinction.
* Add or enable some tests.Rafael Ávila de Espíndola2011-01-132-0/+15
|
* Wrap long line.Graydon Hoare2011-01-121-2/+3
|
* Guard a bunch more logging calls. Cut 10s off rustc compile time.Graydon Hoare2011-01-122-18/+31
|
* Produce better errors for invalid imports.Rafael Ávila de Espíndola2011-01-123-0/+13
|
* Call find_final_def directly in fold_view_item_import. It is both cleaner andRafael Ávila de Espíndola2011-01-121-1/+1
| | | | faster.