Bug 537009 - Unlikely argument types in QvtOperationalVisitorCS and TestQvtParser
Summary: Unlikely argument types in QvtOperationalVisitorCS and TestQvtParser
Status: NEW
Alias: None
Product: QVTo
Classification: Modeling
Component: Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-13 08:51 EDT by Christopher Gerking CLA
Modified: 2018-07-13 10:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Gerking CLA 2018-07-13 08:51:09 EDT
Both classes exhibit warnings about unlikely type arguments. On closer inspection it is not clear to me how/why the affected code sections could ever work as expected. However no test cases seem to depend on them.

There might be other classes affected from similar warnings as well.
Comment 1 Ed Willink CLA 2018-07-13 10:43:15 EDT
My experience has been that this is a pretty good warning. The offending code has a longstanding stupid bug. The only choice is whether to correct the typing or delete the effectively dead code to preserve legacy functionality.