about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-03-24 15:34:59 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-03-30 04:59:56 -0400
commitd649292e601a47b3b602415a2e9d9b6ebc298d45 (patch)
treea5fc3112ad466a325036da4d9b235412decd8512 /src/libstd/sys/unix/stack_overflow.rs
parentf55d03c8d8f5cf76628da771c1f5c4b9a9589c00 (diff)
downloadrust-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