Closed Tangent-90 closed 4 days ago
:white_check_mark: Found changes and release notes in following paths:
Change path Release notes path Description src/Compiler
docs/release-notes/.FSharp.Compiler.Service/8.0.400.md
Thanks for this, looking forward to have this in the editor! Need to think a bit if this can have any perf traps or penalties, overall - good change and testing.
Can't wait for this PR and the other completions-related PR to land so I can try them out in FSAC :)
(Converted to draft until the parser recovery is adjusted)
Description
Improve completion after method/property override.
Complete the parameter list of the overriden method and call base method or throw
![图片](https://github.com/dotnet/fsharp/assets/43789618/0e46a5d7-c0d0-45da-8ed5-59068c742684)
NotImplementedException
Complete the parameter list of the overriden property and call base method or throw
![图片](https://github.com/dotnet/fsharp/assets/43789618/35d4c39b-fc71-4314-9234-2c4247e37d2e)
NotImplementedException
Completion list will exclude implemented members when triggered in an interface implementation, but not when triggered in an object expression (as cannot get the type of an obj expr from
GetExprTypingForPosition
, it just returns the type of interface or the super class)new
in object expressionFixes # (issue, if applicable)
Checklist