diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-06-02 17:48:40 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-06-02 17:52:04 -0700 |
| commit | 468786e36d5ab35afb54b60bc1d6147ba0db8733 (patch) | |
| tree | 76bbd411f945d483edf77d18f15440494c5044ef /src/rustllvm/RustWrapper.cpp | |
| parent | c515ed13deafda59f0b8e00e7fa67802009e33fd (diff) | |
| download | rust-468786e36d5ab35afb54b60bc1d6147ba0db8733.tar.gz rust-468786e36d5ab35afb54b60bc1d6147ba0db8733.zip | |
Fix unification bug
Hello from SFO Terminal 3! unify_fn_common had the expected and actual types reversed in one place. This was causing the type of an occurence of a function f with type fn(int) -> T to be set to fn(_|_) -> T at a call site like f(fail); I think this was also making some of the type error messages come out backwards, but I haven't checked. Also: ty_bot does not contain pointers
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
