Version 2.4.1.4734
OS: Microsoft Windows NT 10.0.15063.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.4849.1000
Host Executable: EXCEL.EXE
Description
A space after a Function name and before the opening paren causes fun results.
To Reproduce
Steps to reproduce the behavior:
Begin a new function declaration: Private Function foo | (note the space after foo)
Type (
End up with Private Function foo() ()
See error
Expected behavior
There should not be 2 sets of parens inserted by SCP.
This appears to be a fun edge case caused by a trailing space after the function name.
Screenshots
These screenshots show what happens as I Ctrl-Z to undo the changes made by SCP, in case that's useful.
Rubberduck version information
Description A space after a
Function
name and before the opening paren causes fun results.To Reproduce Steps to reproduce the behavior:
Private Function foo |
(note the space afterfoo
)(
Private Function foo() ()
Expected behavior There should not be 2 sets of parens inserted by SCP. This appears to be a fun edge case caused by a trailing space after the function name.
Screenshots These screenshots show what happens as I
Ctrl-Z
to undo the changes made by SCP, in case that's useful.Logfile RubberduckLog.txt