• E
    Split TyBareFn into TyFnDef and TyFnPtr. · b423a0f9
    Eli Friedman 提交于
    There's a lot of stuff wrong with the representation of these types:
    TyFnDef doesn't actually uniquely identify a function, TyFnPtr is used to
    represent method calls, TyFnDef in the sub-expression of a cast isn't
    correctly reified, and probably some other stuff I haven't discovered yet.
    Splitting them seems like the right first step, though.
    b423a0f9
consts.rs 45.5 KB