aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/import2.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement module namespacesMarijn Haverbeke2011-05-131-1/+1
| | | | | | | Module names no longer clash with type and value names. The tokenizer/parser still needs to be taught to be more careful in identifying keywords, so that we can use 'str' and 'vec' and so as module names.
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-1/+1
| | | | This should be a snapshot transition.
* Rewrite comp/middle/resolve.rsMarijn Haverbeke2011-05-111-1/+1
| | | | | | | | | * Cleans up the algorithm * Move first pass to walk (second still folds) * Support part of a type/value namespace split (crate metadata and module indices still need to be taught about this) * Remove a few blatant inefficiencies (import tables being recreated for every lookup, most importantly)
* Switch xfail system to use comments embedded in source files.Graydon Hoare2011-03-251-0/+1
|
* Fix two invalid import cases we were not detecting:Rafael Ávila de Espíndola2011-01-111-0/+12
* 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'.