Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #862 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

GDC 0.24 can't compile simple code using tango.core.Array

Reported by: Deewiant Assigned to: Gregor
Priority: major Milestone: 0.99.6
Component: Packaging Version: 0.99.4 Frank
Keywords: Cc:

Description

The below code has been reported to segfault at compile time, using the GDC bundle package provided by Tango. A later SVN revision has been reported to work.

Suggest packaging a later SVN revision instead of 0.24, or at least putting up a big warning sign somewhere.

import tango.core.Array;
void main() {
	char[] a = "foobar";
	assert ( a.contains('f'));
	assert (!a.contains('g'));
}
bool contains(char[] a, char b) { return a.find(b) != a.length; }

Change History

02/23/08 05:05:02 changed by kris

  • milestone set to 0.99.6.

04/14/08 17:14:35 changed by larsivi

  • status changed from new to closed.
  • resolution set to fixed.

This is now done.