Skip to content

fix typo in assertion#6911

Merged
MartinNowak merged 1 commit intodlang:masterfrom
MartinNowak:fixup6412
Jun 17, 2017
Merged

fix typo in assertion#6911
MartinNowak merged 1 commit intodlang:masterfrom
MartinNowak:fixup6412

Conversation

@MartinNowak
Copy link
Member

No description provided.

cdfrom.size(e.loc);
assert(cdfrom.sizeok == SIZEOKdone);
assert(cdto.sizeok == SIZEOKdone || !cdto.isBaseOf(cdto, null));
assert(cdto.sizeok == SIZEOKdone || !cdto.isBaseOf(cdfrom, null));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew it!

@WalterBright
Copy link
Member

Shouldn't there be a test case?

@ibuclaw
Copy link
Member

ibuclaw commented Jun 17, 2017

@WalterBright, the test case was in #6412. I gave attention to this because the assert doesn't catch what it was intended for.

@MartinNowak MartinNowak merged commit c10719d into dlang:master Jun 17, 2017
@MartinNowak MartinNowak deleted the fixup6412 branch June 17, 2017 11:08
tramker pushed a commit to tramker/dmd that referenced this pull request Dec 14, 2017
fix typo in assertion

cherry-picked-by: Martin Krejcirik <mk@krej.cz>
@ibuclaw ibuclaw removed their assignment Dec 27, 2017
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