https://issues.dlang.org/show_bug.cgi?id=15638
--- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ee586e924e358db194f83f0c16c024d22ceebb99 typeMerge should take modifiers into account when searching for common base class. Fixes issue 15638. Add test case to test suite. https://github.com/D-Programming-Language/dmd/commit/c2c036248a462115f87a7baae352cfd026e66dfc Merge pull request #5450 from quickfur/issue15638 typeMerge should take modifiers into account when searching for common base class --