diff options
| author | Edward Wang <edward.yu.wang@gmail.com> | 2014-03-22 20:55:46 +0800 |
|---|---|---|
| committer | Edward Wang <edward.yu.wang@gmail.com> | 2014-03-27 14:41:10 +0800 |
| commit | 4112941202d89477f1b34f559f2c16ef981e8eb6 (patch) | |
| tree | f78d7f61a434c5fcfe5cf857834017649c0c32cb /src/rustllvm/RustWrapper.cpp | |
| parent | c83994e0f492d5e416537cb7ce1063662c0e44e7 (diff) | |
| download | rust-4112941202d89477f1b34f559f2c16ef981e8eb6.tar.gz rust-4112941202d89477f1b34f559f2c16ef981e8eb6.zip | |
_match.rs: prune sub-match tree too aggressively
The `_match.rs` takes advantage of passes prior to `trans` and aggressively prunes the sub-match tree based on exact equality. When it comes to literal or range, the strategy may lead to wrong result if there's guard function or multiple patterns inside tuple. Closes #12582. Closes #13027.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
