rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.92k stars 302 forks source link

False positive 'Parameter can be passed by value' #4645

Closed daFreeMan closed 5 years ago

daFreeMan commented 5 years ago

Version 2.3.1.4327 OS: Microsoft Windows NT 10.0.15063.0, x64 Host Product: Microsoft Office 2016 x64 Host Version: 16.0.4711.1000 Host Executable: MSACCESS.EXE

This code is generating a `Parameter '{x}' can be passed by value' inspection.

Public Property Get Url() As String
End Property
Public Property Let Url(ByVal Value As String)
End Property

image

RubberduckLog.txt

bclothier commented 5 years ago

I am unable to reproduce this. In an empty project, regardless whether it's a module, a class or a document, I cannot get the inspection to fire for the given code.

Is there more to the story than the original report is letting on?

daFreeMan commented 5 years ago

I'll have to run a quick test on the most recent build. I'll let you know what I find.

daFreeMan commented 5 years ago

I'm no longer getting this issue in build .4445 on the originally reported code.