Avatar
omochimetaru 8/10/2018 5:13 AM
Type Solution::simplifyType(Type type) const { if (!type->hasTypeVariable()) return type; // Map type variables to fixed types from bindings. return simplifyTypeImpl( getConstraintSystem(), type, [&](TypeVariableType *tvt) -> Type { auto known = typeBindings.find(tvt); assert(known != typeBindings.end()); return known->second; }); }
5:14 AM
↑ここで、 known->second の行にいるときに
5:14 AM
Solution::getConstraintSystem->dump() したい