Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move
newScope
methods fromdclass.d
to newScope visitor indsymbolsem.d
#17038base: master
Are you sure you want to change the base?
Move
newScope
methods fromdclass.d
to newScope visitor indsymbolsem.d
#17038Changes from all commits
a88cfdb
fc52856
aaf9c8a
1bc2057
252eb9a
fde1211
2fc1a59
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 7492 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7490-L7492
Check warning on line 7499 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7499
Check warning on line 7501 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7501
Check warning on line 7507 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7506-L7507
Check warning on line 7512 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7512
Check warning on line 7514 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7514
Check warning on line 7526 in compiler/src/dmd/dsymbolsem.d
Codecov / codecov/patch
compiler/src/dmd/dsymbolsem.d#L7519-L7526
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this assert failing means that
is returning the wrong value.
Both of those methods should return
false
forclass
es (i.e. only for interfaces should they possibly returntrue
). I'm not really sure why that is happening. You might want to check what the actual return value is. If it is0
or if it is some other value (which would indicate a corrupt vtable on the C++ side).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is odd that is only happens with G++/MSVC(???) as the C++ compiler
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay i'd look at the actual return value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thewilsonator I'm a bit lost here, how do I figure that out??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
printf("cd->vtblOffset() = %d\n", cd->vtblOffset());