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: