Make the Visitor class inherit the ParseTimeVisitor#7438
Make the Visitor class inherit the ParseTimeVisitor#7438dlang-bot merged 1 commit intodlang:masterfrom
Conversation
|
Thanks for your pull request, @RazvanN7! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Some tips to help speed things up:
Bear in mind that large or tricky changes may require multiple rounds of review and revision. Please see CONTRIBUTING.md for more information. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
9a0bdf2 to
ba4482a
Compare
|
@andralex I don't know what duplication you are talking about. Later edit: It seems that travis fails a build on a betterC test, altough I don't think it's related to this PR |
|
Also CC @kinke @JohanEngelen and @klickverbot. |
|
I think that we should hold this off until some tests are in place. Otherwise you're just shooting in the dark here. |
|
@ibuclaw Indeed, but the last PR made it so that the Visitor is just an alias to a templated class. This PR makes the visitor an extern C++ class again so it can't make things worse. |
|
@ibuclaw I'll merge this under the assumption it'll make things better even before having added tests. |
|
Here's a small test: |
|
Without this patch: Backtrace: With this patch: |
|
@MartinNowak - We are under freeze for release now right? If applicable, this patch may need to be applied to stable. |
@ibuclaw Is there anything else that should be done in order to make the visitor compatible with gdc? Should the header files be updated so that the inheritance is visible?