提交 8590e0d8 编写于 作者: C Cyrus Najmabadi

Fix spelling

上级 cd7af7ae
......@@ -1698,9 +1698,9 @@ private IEnumerable<TypeInferenceInfo> InferTypeInNameColon(NameColonSyntax name
? delegateType.TypeArguments[0]
: this.Compilation.ObjectType;
if (IsUnusableType(typeArg) && argumentExpression is LambdaExpressionSyntax lambdExpression)
if (IsUnusableType(typeArg) && argumentExpression is LambdaExpressionSyntax lambdaExpression)
{
typeArg = InferTypeForFirstParameterOfLambda(lambdExpression) ?? this.Compilation.ObjectType;
typeArg = InferTypeForFirstParameterOfLambda(lambdaExpression) ?? this.Compilation.ObjectType;
}
return CreateResult(ienumerableType.Construct(typeArg));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册