| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Produce better errors for invalid imports. | Rafael Ávila de Espíndola | 2011-01-12 | 1 | -0/+6 |
| | | |||||
| * | Call find_final_def directly in fold_view_item_import. It is both cleaner and | Rafael Ávila de Espíndola | 2011-01-12 | 1 | -1/+1 |
| | | | | | faster. | ||||
| * | Change mod_index_entry to point directly to items and view_items. | Rafael Ávila de Espíndola | 2011-01-12 | 4 | -58/+66 |
| | | |||||
| * | Figure out what tydescs we need to pass when translating parametric function ↵ | Patrick Walton | 2011-01-12 | 2 | -4/+57 |
| | | | | | calls | ||||
| * | Fix another import case we got wrong: The local environment should not | Rafael Ávila de Espíndola | 2011-01-11 | 1 | -27/+47 |
| | | | | | interfere with the import statements. | ||||
| * | Fix two invalid import cases we were not detecting: | Rafael Ávila de Espíndola | 2011-01-11 | 1 | -12/+29 |
| | | | | | | | | * If an import was unused we would never print any errors for it. * We would keep the existing environment in scope when descending 'foo.bar' and would find 'bar' in the global environment if there was no 'bar' in 'foo'. | ||||
| * | Sketch support for reading multi-file crates in rustc. Add test, not yet ↵ | Graydon Hoare | 2011-01-10 | 1 | -32/+138 |
| | | | | | working. | ||||
| * | Drop closures. Un-XFAIL bind-interior.rs. | Graydon Hoare | 2011-01-07 | 1 | -7/+54 |
| | | |||||
| * | Add sufficient import support to compile some simple single-crate programs. | Rafael Ávila de Espíndola | 2011-01-07 | 3 | -37/+115 |
| | | | | | | This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step. | ||||
| * | Synthesize closure thunks, and pass closure pointer into fn calls. | Graydon Hoare | 2011-01-07 | 1 | -30/+170 |
| | | |||||
| * | Whitespace cleanup, and copy target into closure. | Graydon Hoare | 2011-01-06 | 1 | -7/+10 |
| | | |||||
| * | Add the boilerplate for folding view items. | Rafael Ávila de Espíndola | 2011-01-06 | 1 | -1/+65 |
| | | |||||
| * | Sketch closure-forming logic for nontrivial bindings. | Graydon Hoare | 2011-01-05 | 2 | -4/+79 |
| | | |||||
| * | Translate trivial bindings. Un-XFAIL bind-trivial.rs. | Graydon Hoare | 2011-01-05 | 1 | -8/+20 |
| | | |||||
| * | Use uniform pair representation of functions everywhere, including static ↵ | Graydon Hoare | 2011-01-05 | 2 | -38/+132 |
| | | | | | functions. | ||||
| * | rustc: Allow the type unification handler to handle both expected and actual ↵ | Patrick Walton | 2011-01-04 | 2 | -4/+20 |
| | | | | | param types | ||||
| * | Correct function pointer type in closure. | Graydon Hoare | 2011-01-04 | 1 | -2/+2 |
| | | |||||
| * | Merge remote branch 'espindola/import' | Graydon Hoare | 2011-01-04 | 3 | -5/+9 |
| |\ | |||||
| | * | Add names from imports to the namespace. | Rafael Ávila de Espíndola | 2011-01-04 | 3 | -5/+9 |
| | | | |||||
| * | | rustc: Add an item type accessor | Patrick Walton | 2011-01-04 | 1 | -0/+38 |
| |/ | |||||
| * | Add support for looking up a name introduced by a 'use'. | Rafael Ávila de Espíndola | 2011-01-04 | 3 | -11/+38 |
| | | | | | | | | | | | With this we go from "error: unresolved name: foo" to "unimplemented definition variant for: foo" in use foo; fn main(vec[str] args) { foo.bar(); } | ||||
| * | Refactor the view_item code so that it is similar to the code used for | Rafael Ávila de Espíndola | 2011-01-04 | 2 | -30/+40 |
| | | | | | parsing regular items. | ||||
| * | Rename use_or_import to view_item. | Rafael Ávila de Espíndola | 2011-01-04 | 2 | -8/+8 |
| | | |||||
| * | Begin sketching translation of bind_expr. No captures yet, also crashy. | Graydon Hoare | 2011-01-03 | 1 | -1/+40 |
| | | |||||
| * | Split driver between parsing source files and crate files, by extension. Add ↵ | Graydon Hoare | 2011-01-03 | 2 | -2/+21 |
| | | | | | dummy function for crate files. | ||||
| * | Typecheck expr_bind. | Graydon Hoare | 2011-01-03 | 1 | -13/+57 |
| | | |||||
| * | Add type accessors for fn types. | Graydon Hoare | 2011-01-03 | 1 | -0/+24 |
| | | |||||
| * | Fix fold bug on expr_bind. | Graydon Hoare | 2011-01-03 | 1 | -0/+3 |
| | | |||||
| * | Actually return the correct node from the parser. | Graydon Hoare | 2011-01-03 | 1 | -2/+1 |
| | | |||||
| * | Remove missed debug chatter. | Graydon Hoare | 2011-01-03 | 1 | -1/+0 |
| | | |||||
| * | Add restricted-parse mode, and parse bind expressions. | Graydon Hoare | 2010-12-31 | 1 | -10/+68 |
| | | |||||
| * | Translate local item decls. | Graydon Hoare | 2010-12-31 | 1 | -0/+3 |
| | | |||||
| * | Update method-fold env with fake item_fn representing the method. | Graydon Hoare | 2010-12-31 | 1 | -1/+12 |
| | | |||||
| * | Change resolve errs to span_errs. | Graydon Hoare | 2010-12-31 | 1 | -4/+4 |
| | | |||||
| * | Parse local item decls. | Graydon Hoare | 2010-12-31 | 1 | -6/+36 |
| | | |||||
| * | Index tag and obj items in decl stmts. | Graydon Hoare | 2010-12-31 | 1 | -0/+6 |
| | | |||||
| * | Free objects by indirectly dropping fields via enclosed tydesc first. | Graydon Hoare | 2010-12-31 | 1 | -2/+49 |
| | | |||||
| * | Replace arg Load with load_non_structural in obj ctor. | Graydon Hoare | 2010-12-31 | 1 | -1/+1 |
| | | |||||
| * | Teach ty.unify about ty_obj. | Graydon Hoare | 2010-12-31 | 1 | -0/+83 |
| | | |||||
| * | Move unify_fn logic out-of-line. | Graydon Hoare | 2010-12-31 | 1 | -59/+72 |
| | | |||||
| * | Teach typeck.ast_ty_to_ty about ty_obj. | Graydon Hoare | 2010-12-30 | 1 | -3/+13 |
| | | |||||
| * | Teach fold about ty_obj. | Graydon Hoare | 2010-12-30 | 1 | -0/+24 |
| | | |||||
| * | Teach trans to access object fields. | Graydon Hoare | 2010-12-30 | 1 | -14/+100 |
| | | |||||
| * | Assign method types properly by sorted-order. | Graydon Hoare | 2010-12-30 | 1 | -8/+12 |
| | | |||||
| * | Teach typeck to check obj field accesses. | Graydon Hoare | 2010-12-30 | 1 | -3/+41 |
| | | |||||
| * | Teach resolve to find obj fields and ty params from methods. | Graydon Hoare | 2010-12-30 | 1 | -0/+12 |
| | | |||||
| * | Add def id to ast for obj fields. | Graydon Hoare | 2010-12-30 | 1 | -0/+1 |
| | | |||||
| * | Record the ast of uses and imports. | Rafael Ávila de Espíndola | 2010-12-30 | 2 | -21/+59 |
| | | |||||
| * | rustc: Make parametric return types go through an out pointer | Patrick Walton | 2010-12-29 | 1 | -6/+30 |
| | | |||||
| * | Add a -shared option to rustc and don't try to look for main if it is given. | Rafael Ávila de Espíndola | 2010-12-29 | 2 | -6/+14 |
| | | |||||