Make sure we don't offer overrides outside of a class declaration
ClosedPublic

Authored by apol on Jun 13 2016, 10:16 PM.

Details

Summary

Don't jump to the semantic parent (class declaration) but the lexical,
the top context, in the unit test semantics.

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol updated this revision to Diff 4424.Jun 13 2016, 10:16 PM
apol retitled this revision from to Make sure we don't offer overrides outside of a class declaration.
apol updated this object.
apol added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJun 13 2016, 10:16 PM
mwolff accepted this revision.Jun 14 2016, 11:11 AM
mwolff added a reviewer: mwolff.
mwolff added a subscriber: mwolff.

if the new test passes and the existing tests also keep on running, then +2

thanks, the patch makes sense :)

This revision is now accepted and ready to land.Jun 14 2016, 11:11 AM
This revision was automatically updated to reflect the committed changes.