You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/FSharp.Compiler.ComponentTests/Language/BooleanReturningAndReturnTypeDirectedPartialActivePatternTests.fs
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -101,17 +101,26 @@ but here has type
101
101
(Error 39, Line 4, Col 7, Line 4, Col 13,
102
102
"The value or constructor 'result' is not defined. Maybe you want one of the following:
103
103
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'.");
104
106
(Error 1, Line 8, Col 3, Line 8, Col 13,
105
107
"This expression was expected to have type
106
108
'string -> bool'
107
109
but here has type
108
110
'bool' ")
109
111
(Error 39, Line 8, Col 7, Line 8, Col 13,
110
112
"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:
111
116
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'.");
112
119
(Error 1, Line 12, Col 3, Line 12, Col 30,
113
120
"This expression was expected to have type
114
121
'string -> bool'
115
122
but here has type
116
123
'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'.")
0 commit comments