> (3) Type errors are more helpful. A record with the wrong types, for
example, generates an error immediately at site of construction instead of farther down. Moreover, no complicated diffing logic is needed to make type mismatches between large record types sensible to the user.
Being able to add a field 'foo' to a record 'bar' and then just fixing all the 'missing field foo' errors would be a very nice improvement when refactoring code :-)
If we do make this change, can we also rename record to struct? They would be really similar to C structs.
Patrick
Cheers, Rafael _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
