Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-40039: Generate::Equals&Hash: Should Never Generate Empty Functions

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created May 5, 2007 11:17:26 PM
Updated Dec 27, 2011 8:14:40 PM
Priority Normal
Type Usability Problem
Fix versions Mirabile Futurum
State Open
Assignee Alexander Shvedov (shvedov)
Subsystem Generate Action
Affected versions No Affected versions
Fixed in build No Fixed in build
If the generator does not see any suitable fields, it just silently generates the "always equals" and "hash always zero" stubs. Generally, this is even worse than falling back to the default implementation.

Should at least warn the user, or even refuse generating such mocks at all.

Issue was closed

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>