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
* Ensure that line directives are applied to source identifiers (issue [#18908](https://github.com/dotnet/fsharp/issues/18908), PR [#18918](https://github.com/dotnet/fsharp/pull/18918))
38
+
* Fix expected and actual types in ErrorFromAddingTypeEquation message and extended diagnostic data. ([PR #18915](https://github.com/dotnet/fsharp/pull/18915))
38
39
39
40
### Changed
40
41
* Use `errorR` instead of `error` in `CheckDeclarations.fs` when possible. ([PR #18645](https://github.com/dotnet/fsharp/pull/18645))
Copy file name to clipboardExpand all lines: tests/FSharp.Compiler.ComponentTests/Conformance/Types/RecordTypes/RecordTypes.fs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ module RecordTypes =
116
116
(Warning 464, Line 15, Col 22, Line 15, Col 28,"This code is less generic than indicated by its annotations. A unit-of-measure specified using '_' has been determined to be '1', i.e. dimensionless. Consider making the code generic, or removing the use of '_'.")
117
117
(Warning 464, Line 15, Col 35, Line 15, Col 42,"This code is less generic than indicated by its annotations. A unit-of-measure specified using '_' has been determined to be '1', i.e. dimensionless. Consider making the code generic, or removing the use of '_'.")
118
118
(Error 5, Line 17, Col 1, Line 17, Col 5,"This field is not mutable")
119
-
(Error 1, Line 17, Col 16, Line 17, Col 22,"The type 'decimal<Kg>' does not match the type 'float<Kg>'")
119
+
(Error 1, Line 17, Col 16, Line 17, Col 22,"The type 'float<Kg>' does not match the type 'decimal<Kg>'")
120
120
(Error 5, Line 18, Col 1, Line 18, Col 5,"This field is not mutable")
121
121
(Error 1, Line 18, Col 16, Line 18, Col 21,"This expression was expected to have type\n 'float' \nbut here has type\n 'decimal' ")
Copy file name to clipboardExpand all lines: tests/FSharp.Compiler.ComponentTests/Conformance/Types/TypeConstraints/IWSAMsAndSRTPs/IWSAMsAndSRTPsTests.fs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1145,7 +1145,7 @@ module StaticAbstractBug =
1145
1145
|> compile
1146
1146
|> shouldFail
1147
1147
|> withDiagnostics [
1148
-
(Error 1, Line 14, Col 41, Line 14, Col 42,"The type 'bool' does not match the type 'int'")
1148
+
(Error 1, Line 14, Col 41, Line 14, Col 42,"The type 'int' does not match the type 'bool'")
1149
1149
(Error 1, Line 16, Col 32, Line 16, Col 33,"This expression was expected to have type
0 commit comments