[Issue 6929] [ICE] typeMerge crashes in presence of ambiguous alias this conversions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 12 07:08:48 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6929



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-11-12 07:08:04 PST ---
In this case, S and T don't have common type.

With the expression (1? t:s), two expansions of alias this exist.
One of them is
   1? t.get():s,  type == S
Other is 
   1? t:s.get(),  type == T

This ambiguate should cause error.

But, ICE is bad. It should be fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list