public void IsString(IScope parent, ILookUpType target) { // super weird that this has to be a value var thing = CreateValue(parent, new NameKey("string")); AssertIs(target, thing); }
public void AssertIs(ILookUpType assignedFrom, ILookUpType assignedTo) { problem.assignments.Add(( Prototypist.Toolbox.OrType.Make <ILookUpType, IOrType <MethodType, Type, Object, OrType, InferredType, GenericTypeParameter, Method, IError> >(assignedFrom), Prototypist.Toolbox.OrType.Make <ILookUpType, IOrType <MethodType, Type, Object, OrType, InferredType, GenericTypeParameter, IError> >(assignedTo))); }