Skip to content

Make Module.semantic override the base class's virtual function#6001

Merged
yebblies merged 1 commit intodlang:masterfrom
JohanEngelen:hiddenvirtuals
Aug 7, 2016
Merged

Make Module.semantic override the base class's virtual function#6001
yebblies merged 1 commit intodlang:masterfrom
JohanEngelen:hiddenvirtuals

Conversation

@JohanEngelen
Copy link
Contributor

The current Module interface defines semantic() which is not overriding the Dsymbol baseclass's semantic(Scope*). This PR fixes that so that the interface is more clear.
Compare with Module.importAll.

I chose to not name the Scope* function argument to indicate that it is not used.

…a clearer interface. (compare with Module.importAll)
@JohanEngelen
Copy link
Contributor Author

@yebblies
Copy link
Contributor

yebblies commented Aug 7, 2016

Auto-merge toggled on

@yebblies yebblies merged commit 60f622f into dlang:master Aug 7, 2016
@JohanEngelen JohanEngelen deleted the hiddenvirtuals branch August 8, 2016 17:13
JohanEngelen added a commit to JohanEngelen/dmd that referenced this pull request Aug 8, 2016
JohanEngelen added a commit to JohanEngelen/ldc that referenced this pull request Aug 8, 2016
JohanEngelen added a commit to JohanEngelen/ldc that referenced this pull request Aug 8, 2016
This eliminates the hidden-virtuals warning flood.

See
dlang/dmd#6001
dlang/dmd@60f622f
and
dlang/dmd#6038
dnadlinger added a commit that referenced this pull request Aug 8, 2016
[Trivial] Fix C++ header after PR #6001.
UplinkCoder pushed a commit to UplinkCoder/dmd that referenced this pull request Aug 31, 2016
@CyberShadow
Copy link
Member

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=17548

JohanEngelen added a commit to JohanEngelen/dmd that referenced this pull request Jun 25, 2017
…s" because it introduced a regression, see https://issues.dlang.org/show_bug.cgi?id=17548

This reverts commit 60f622f, reversing
changes made to 9492814.
JohanEngelen added a commit to JohanEngelen/dmd that referenced this pull request Jun 25, 2017
… part of reverting dlang#6001

This reverts commit 40fc716, reversing
changes made to 3cec8aa.
JohanEngelen added a commit to JohanEngelen/dmd that referenced this pull request Jun 25, 2017
JohanEngelen added a commit to JohanEngelen/dmd that referenced this pull request Jun 25, 2017
…ear that they are not meant to override DSymbol.semantic*.

Rework of dlang#6001 which caused regression issue 17548.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants