Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcec600

Browse files
try to type check arg again
1 parent6a92a80 commitbcec600

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/fsharp/TypeChecker.fs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8314,9 +8314,9 @@ and TcFunctionApplicationThen cenv overallTy env tpenv mExprAndArg expr exprty (
83148314
if not isTypeApp then
83158315
TcExprOfUnknownType cenv env tpenv expr |> ignore
83168316
Some ident
8317-
| SynExpr.TypeApp (expr, _,typeNames, _, _,_, m) ->
8318-
TcExprOfUnknownType cenv env tpenv expr |> ignore
8319-
TcTypesOrMeasures None cenv ImplictlyBoundTyparsAllowed.NewTyparsOK CheckConstraints.NoCheckCxs ItemOccurence.Use env tpenv typeNames m |> ignore
8317+
| SynExpr.TypeApp (expr, _,typeArgs, _, _,mTypeArgs, m) ->
8318+
TcExprOfUnknownTypeThen cenv env tpenv expr [ DelayedTypeApp (typeArgs, mTypeArgs, m) ] |> ignore
8319+
//TcTypesOrMeasures None cenv ImplictlyBoundTyparsAllowed.NewTyparsOK CheckConstraints.NoCheckCxs ItemOccurence.Use env tpenv typeNames m |> ignore
83208320
findIdents expr true
83218321
| SynExpr.LongIdent(_, LongIdentWithDots(idents, _), _, _) when not (List.isEmpty idents) ->
83228322
if not isTypeApp then

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp