Skip to content

Commit 7b5436d

Browse files
committed
Update test baselines
1 parent b8791a4 commit 7b5436d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/FSharp.Compiler.ComponentTests/Language/BooleanReturningAndReturnTypeDirectedPartialActivePatternTests.fs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,26 @@ but here has type
101101
(Error 39, Line 4, Col 7, Line 4, Col 13,
102102
"The value or constructor 'result' is not defined. Maybe you want one of the following:
103103
Result")
104+
(Warning 20, Line 3, Col 1, Line 5, Col 15,
105+
"The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.");
104106
(Error 1, Line 8, Col 3, Line 8, Col 13,
105107
"This expression was expected to have type
106108
'string -> bool'
107109
but here has type
108110
'bool' ")
109111
(Error 39, Line 8, Col 7, Line 8, Col 13,
110112
"The value or constructor 'result' is not defined. Maybe you want one of the following:
113+
Result");
114+
(Error 39, Line 8, Col 17, Line 8, Col 23,
115+
"The value or constructor 'result' is not defined. Maybe you want one of the following:
111116
Result")
117+
(Warning 20, Line 7, Col 1, Line 9, Col 15,
118+
"The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.");
112119
(Error 1, Line 12, Col 3, Line 12, Col 30,
113120
"This expression was expected to have type
114121
'string -> bool'
115122
but here has type
116123
'bool' ")
124+
(Warning 20, Line 11, Col 1, Line 13, Col 21,
125+
"The result of this expression has type 'string' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.")
117126
]

0 commit comments

Comments
 (0)