[Bug 129] New: Diagnostic bug in casting to array types.
via D.gnu
d.gnu at puremagic.com
Wed Jun 11 00:10:52 PDT 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=129
Bug ID: 129
Summary: Diagnostic bug in casting to array types.
Product: GDC
Version: development
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: ibuclaw at gdcproject.org
Reporter: ibuclaw at gdcproject.org
The following code:
---
auto v = cast(int[5]) [1,2,3,4];
---
Emits the error: conversion to non-scalar type requested.
Which from a diagnostic perspective, is not at all informative - maybe the
column support from 2.066 development will remedy things a little better, but
at least we should move away from this GCC-style message and be more verbose.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140611/cb30360a/attachment.html>
More information about the D.gnu
mailing list