about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-08-04 16:07:26 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-08-04 16:07:26 -0700
commite0985c10606d0b38be66734bf1a34bad70eec064 (patch)
tree341df9e50136282278f2f7e6e5a626da38ea87e4 /src/rt/rust_shape.cpp
parent5f03ca48d8348197b52697f54a34e471b0edd79f (diff)
downloadrust-e0985c10606d0b38be66734bf1a34bad70eec064.tar.gz
rust-e0985c10606d0b38be66734bf1a34bad70eec064.zip
Handle alt on a _|_ - typed value
Return the result of the discriminant from trans_alt,
rather than nil, in the _|_ case. This was breaking the
enclosed test case (alt-bot-2) when optimization was disabled.

Closes #769
Diffstat (limited to 'src/rt/rust_shape.cpp')
0 files changed, 0 insertions, 0 deletions