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/Conformance/Expressions/ComputationExpressions/CEExtensionMethodCapture.fs
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -134,3 +134,36 @@ let ``CE captures a public extension method with valid generic constrainted type
134
134
|> asExe
135
135
|> compile
136
136
|> shouldFail
137
+
138
+
// Deliberately trigger an error to ensure that a method is captured
139
+
[<Fact>]
140
+
let``CE captures a public extension method with generic type and procudes an error due to invalid args``()=
0 commit comments