Thread overview
[Issue 15638] no common type for const classes
Feb 13, 2016
Kenji Hara
February 12, 2016
https://issues.dlang.org/show_bug.cgi?id=15638

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #1 from hsteoh@quickfur.ath.cx ---
Confirmed with git that PR #125 causes this problem.

--
February 12, 2016
https://issues.dlang.org/show_bug.cgi?id=15638

--- Comment #2 from hsteoh@quickfur.ath.cx ---
(Or exposed a latent bug in the common type code?)

--
February 12, 2016
https://issues.dlang.org/show_bug.cgi?id=15638

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from hsteoh@quickfur.ath.cx ---
https://github.com/D-Programming-Language/dmd/pull/5450

--
February 13, 2016
https://issues.dlang.org/show_bug.cgi?id=15638

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--
February 13, 2016
https://issues.dlang.org/show_bug.cgi?id=15638

--- Comment #4 from github-bugzilla@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

--