about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-06-02 17:48:40 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-06-02 17:52:04 -0700
commit468786e36d5ab35afb54b60bc1d6147ba0db8733 (patch)
tree76bbd411f945d483edf77d18f15440494c5044ef /src/rustllvm/RustWrapper.cpp
parentc515ed13deafda59f0b8e00e7fa67802009e33fd (diff)
downloadrust-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