ExtractInterface: Missing parameters in Interface signatures - Optional parameters only #4774
Labels
bug
Identifies work items for known bugs
difficulty-02-ducky
Resolving these involves the internal API, but with relatively easy problems to solve.
feature-refactorings
up-for-grabs
Use this label in conjunction with a difficulty level label, e.g. difficulty-02-ducky
Projects
Rubberduck version information
Version 2.4.0.4511
OS: Microsoft Windows NT 10.0.17763.0, x64
Host Product: Microsoft Office x64
Host Version: 16.0.11231.20130
Host Executable: WINWORD.EXE
Description
RubberDuck.Refactor.ExtractInterface gives rise to some methods of the the interface class having no parameters in the method declaration if the originating method has optional arguments.
In the implementation inserted in the class from which the interface was extracted, the method signature does include the parameters but omits the Optional clause in the signature.
Source Method
Implementation
Interface
Logfile
RubberduckLog.txt
Additional context
TestXmlPair.zip
The text was updated successfully, but these errors were encountered: