Go to file
Tim Chevalier 97bcb20244 Avoid some duplicated typechecking work
There was a FIXME noting that ty::enum_variants and typeck::check::
check_enum_variants both call eval_const_expr. I tried refactoring the
code so that check_enum_variants does all the work and enum_variants
just looks up cached results, but this turned out not to be easy because
several ty functions call enum_variants and it might get invoked on an
enum before that enum item has been typechecked. Instead, I just made
check_enum_variants update the enum_var_cache so that enum_variants
will never call eval_const_expr twice on the same const.
2012-06-14 16:21:53 -07:00
doc
man
mk Update the build system to handle dependency on header files. Closes #2547. 2012-06-14 14:50:14 -07:00
src Avoid some duplicated typechecking work 2012-06-14 16:21:53 -07:00
.gitignore Make git ignore the .DS_Store file on Macs (wherever it is) 2012-06-12 17:37:04 -07:00
.gitmodules
AUTHORS.txt
configure
INSTALL.txt
LICENSE.txt
Makefile.in Update the build system to handle dependency on header files. Closes #2547. 2012-06-14 14:50:14 -07:00
README.txt
RELEASES.txt

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://www.rust-lang.org for more information.