diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-03-24 15:34:59 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-03-30 04:59:56 -0400 |
| commit | d649292e601a47b3b602415a2e9d9b6ebc298d45 (patch) | |
| tree | a5fc3112ad466a325036da4d9b235412decd8512 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | f55d03c8d8f5cf76628da771c1f5c4b9a9589c00 (diff) | |
| download | rust-d649292e601a47b3b602415a2e9d9b6ebc298d45.tar.gz rust-d649292e601a47b3b602415a2e9d9b6ebc298d45.zip | |
Implement new type-checking strategy for binary operators. Basically,
the plan is to treat all binary operators as if they were overloaded, relying on the fact that we have impls for all the builtin scalar operations (and no more). But then during writeback we clear the overload if the types correspond to a builtin op. This strategy allows us to avoid having to know the types of the operands ahead of time. It also avoids us overspecializing as we did in the past.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
