David Nadlinger 3f448afa37 Another nested context crash fix.
The test case that would previously crash:

a.d
---
module a;

@property bool empty(T)(in T[] a) {
  return !a.length;
}

void find(alias pred,R1)(R1 haystack) {
  simpleMindedFind!pred(haystack);
}

void simpleMindedFind(alias pred, R1)(R1 haystack) {
  bool haystackTooShort() {
    return haystack.empty;
  }
}
---

b.d
---
module b;

import c;

void getTimeZone() {
  indexOf();
}
---

c.d
---
module c;

import a;

void indexOf()() {
  find!({})("");
}
---
2011-08-17 02:33:33 +02:00
2011-08-12 11:30:05 +02:00
2011-08-08 21:00:42 +02:00
2008-10-06 22:54:08 +02:00
2011-06-15 19:16:50 +02:00
2011-08-17 02:33:33 +02:00
2011-02-20 19:00:52 +03:00
2009-04-15 20:06:25 +02:00
2009-03-01 22:40:15 +01:00
2011-03-26 17:58:08 +03:00
2010-10-23 21:08:11 +02:00

LLVM D Compiler (LDC)

This compiler is based on the Digital Mars D (DMD) compiler frontend, and
the LLVM compiler toolkit. See LICENSE for licensing information.

For more information, including build instructions, visit the LDC website:

http://www.dsource.org/projects/ldc
Description
The LLVM-based D compiler.
Readme Multiple Licenses 14 MiB
Languages
C 75.2%
C++ 23.2%
D 0.7%
CMake 0.6%
Shell 0.2%