[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812080: gdc-6: array assignment fails to compile



On 20 January 2016 at 10:48, Peter De Wachter <pdewacht@gmail.com> wrote:
Package: gdc-6
Version: 6-20160117-1
Severity: normal

Dear Maintainer,

This program fails to compile in this gdc snapshot:

  void main() {
    real[] a = [-1];
  }

It is accepted by both gdc-5 and the dmd reference compiler.


I'm sure I would have noticed if this was happening in upstream gdc.  However I don't want to be quick to point towards some local debian patch causing the problem.  Are there debug builds to test?


Iain.


Reply to: