diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-15 14:55:03 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-06-15 15:21:17 -0700 |
| commit | 093faaabe115c43a09c8565f572fb03d81256a3a (patch) | |
| tree | 999a37a3fa9c52e3afb7eefe1fd2b885fd267d1b /src/rt/rust_kernel.cpp | |
| parent | 7a253eabce740bfa9e558d41adda784642617b6d (diff) | |
| download | rust-093faaabe115c43a09c8565f572fb03d81256a3a.tar.gz rust-093faaabe115c43a09c8565f572fb03d81256a3a.zip | |
Handle index expressions' callee IDs correctly
Some code that handles unary and binary exprs' callee IDs was
forgetting to handle the index expr case (since calls to
user-defined index operators also have callee IDs). This was
manifesting as an ICE in trans because when monomorphizing a
function that had one of these operators in it (an index into a
dvec, in the test case), the callee ID would be unbound to a type.
Fixed it. Closes #2631.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
