[Issue 11484] [e2ir] Error in e2ir at cast to/from static array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 9 11:03:10 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11484
Denis Shelomovskij <verylonglogin.reg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[e2ir] Error in e2ir at |[e2ir] Error in e2ir at
|static array to numeric |cast to/from static array
|cast |
--- Comment #1 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-11-09 22:03:09 MSK ---
Same ICE in reverse direction. Let's cast `Object` now:
---
void main()
{
Object o; // or an array, or a pointer,...
auto i1 = cast(int[1]) o;
}
---
main.d(4): Error: e2ir: cannot cast i of type int to type float[1]
---
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list