graydon/rust — Issue #1376: fix machine type equality
Author: boggle
Created: 2011-12-22 22:03:05+00:00
State: open

float, int, uint should be equal to their machine type equivalents. This is currently not the case and originally was the reason for the introduction of trivial casts. Now that these are gone, this needs fixing, i.e.

let f: float = fXY::sin(1.0)

should compile.