Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
daFreeMan opened this issue Dec 17, 2018 · 3 comments
Closed

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

daFreeMan opened this issue Dec 17, 2018 · 3 comments
Labels
bug Identifies work items for known bugs feature-inspections inspection-false-positive A bug where an inspection result appears, even though it is incorrect.

Comments

@daFreeMan
Copy link
Contributor

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

@Vogel612 Vogel612 added bug Identifies work items for known bugs feature-inspections inspection-false-positive A bug where an inspection result appears, even though it is incorrect. labels Dec 18, 2018
@Vogel612 Vogel612 added this to ToDo in Semi-automatic bug tracker via automation Dec 18, 2018
@bclothier
Copy link
Contributor

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
Copy link
Contributor Author

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

@daFreeMan
Copy link
Contributor Author

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

Semi-automatic bug tracker automation moved this from ToDo to Done Jan 21, 2019
@Vogel612 Vogel612 modified the milestone: 2.4.1 Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies work items for known bugs feature-inspections inspection-false-positive A bug where an inspection result appears, even though it is incorrect.
Projects
Development

No branches or pull requests

3 participants