D.gnu - [Bug 129] New: Diagnostic bug in casting to array types.
- via D.gnu (27/27) Jun 11 2014 Date: Wed, 11 Jun 2014 08:10:51 +0100
Date: Wed, 11 Jun 2014 08:10:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 gdcproject.org Reporter: ibuclaw 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.
Jun 11 2014