https://d.puremagic.com/issues/show_bug.cgi?id=11946



--- Comment #4 from Vladimir Panteleev <thecybersha...@gmail.com> 2014-01-20 
15:50:53 EET ---
> OK, I reopen issue 7805 as an enhancement request.

Unless the enhancement is making the error message better, it is still a
regression and not an enhancement, is it not?

>From my observations of related errors, I think there seems to be some
conflation between aliases to declarations (without context pointers) and
aliases to actual variables (which do have context pointers). For example,
S.field and s.field. These bug reports and those where the compiler complains
that "this for X should be type Y not type Z" indicates that in a lot of cases,
the compiler attempts to pass the context pointer to blocks where it makes no
sense to. IMO, all "this for X should be type Y not type Z" errors are
confusing and useless, and need to be eliminated.

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

Reply via email to