Commit f6ae54b
Disallow calling abstract methods directly on interfaces (#17021)
* Disallow calling abstract methods directly on interfaces
* More tests
* IWSAMs are not supported by NET472
* Update src/Compiler/Checking/ConstraintSolver.fs
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
* fix typos
* looking for the right check
* Add comments
* move release notes
* Add a new error number and message
* Update docs/release-notes/.FSharp.Compiler.Service/8.0.400.md
Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>
* Update docs/release-notes/.FSharp.Compiler.Service/8.0.400.md
Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>
* Improve error message
---------
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>1 parent 98250ef commit f6ae54b
File tree
18 files changed
+160
-6
lines changed- docs/release-notes/.FSharp.Compiler.Service
- src/Compiler
- Checking
- xlf
- tests/FSharp.Compiler.ComponentTests/Conformance/Types/TypeConstraints/IWSAMsAndSRTPs
18 files changed
+160
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2942 | 2942 | | |
2943 | 2943 | | |
2944 | 2944 | | |
2945 | | - | |
2946 | 2945 | | |
2947 | | - | |
2948 | | - | |
| 2946 | + | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
2949 | 2962 | | |
2950 | 2963 | | |
2951 | 2964 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1745 | 1745 | | |
1746 | 1746 | | |
1747 | 1747 | | |
1748 | | - | |
| 1748 | + | |
| 1749 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments