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/BasicGrammarElements/MemberDefinitions/OptionalDefaultParamArgs/OptionalDefaultParamArgs.fs
Warning 3211, Line 10, Col 62, Line 10, Col 63,"The default value does not have the same type as the argument. The DefaultParameterValue attribute and any Optional attribute will be ignored. Note: 'null' needs to be annotated with the correct type, e.g. 'DefaultParameterValue(null:obj)'."
81
-
Error 193, Line 13, Col 25, Line 13, Col 27,"""Type constraint mismatch. The type
82
-
'unit'
83
-
is not compatible with type
84
-
'string' """]
82
+
|> withDiagnostics
83
+
[(Warning 3211, Line 10, Col 62, Line 10, Col 63,"The default value does not have the same type as the argument. The DefaultParameterValue attribute and any Optional attribute will be ignored. Note: 'null' needs to be annotated with the correct type, e.g. 'DefaultParameterValue(null:obj)'.");
84
+
(Error 193, Line 13, Col 25, Line 13, Col 27,"Type constraint mismatch. The type
0 commit comments