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

Commit185ed4f

Browse files
committed
fix tests
1 parent5acc100 commit185ed4f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/fsharp/TypeChecker.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8223,7 +8223,7 @@ and Propagate cenv overallTy env tpenv (expr: ApplicableExpr) exprty delayed =
82238223
let mArg = arg.Range
82248224
match arg with
82258225
| SynExpr.CompExpr _ -> ()
8226-
| SynExpr.ArrayOrListOfSeqExpr (_,_,_) ->
8226+
| SynExpr.ArrayOrListOfSeqExpr (false,_,_) ->
82278227
// 'delayed' is about to be dropped on the floor, first do rudimentary checking to get name resolutions in its body
82288228
RecordNameAndTypeResolutions_IdeallyWithoutHavingOtherEffects_Delayed cenv env tpenv delayed
82298229
if IsIndexerType cenv.g cenv.amap expr.Type then

‎src/fsharp/ast.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ and
536536
| ForEachofforSeqPoint:SequencePointInfoForForLoop*seqExprOnly:SeqExprOnly*isFromSource:bool*pat:SynPat*enumExpr:SynExpr*bodyExpr:SynExpr*range:range
537537

538538
/// F# syntax: [ expr ], [| expr |]
539-
| ArrayOrListOfSeqExprofisList:bool*expr:SynExpr*range:range
539+
| ArrayOrListOfSeqExprofisArray:bool*expr:SynExpr*range:range
540540

541541
/// CompExpr(isArrayOrList, isNotNakedRefCell, expr)
542542
///

‎tests/fsharpqa/Source/Warnings/SuggestToUseIndexer.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ let y = d[1]
99
letz= d[|1|]
1010

1111
letf()= d
12-
lety=(f())[1]
12+
leta=(f())[1]
1313

1414
exit0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp