Files
ldc/gen
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-03-26 19:30:17 +03:00
2011-03-26 19:30:17 +03:00
2011-05-11 21:13:43 +04:00
2011-02-23 12:49:57 +03:00
2011-01-05 18:21:40 +03:00
2010-10-29 23:06:01 +02:00
2010-05-19 12:42:32 +02:00
2011-02-23 23:50:53 +01:00
2011-02-23 23:50:53 +01:00
2009-04-12 12:52:01 +02:00
2010-09-30 21:54:45 +04:00
2009-05-07 15:33:06 +02:00
2010-05-19 12:42:32 +02:00
2010-05-19 12:42:32 +02:00
2011-04-30 15:30:57 +04:00
2009-08-14 00:39:18 +02:00
2011-08-17 02:33:33 +02:00
2010-10-07 22:35:32 +04:00
2010-10-07 22:35:32 +04:00
2011-03-26 17:58:08 +03:00
2011-03-26 17:58:08 +03:00
2011-02-23 12:49:57 +03:00
2011-04-30 17:35:40 +04:00
2011-04-30 15:30:58 +04:00
2009-05-02 11:58:50 +02:00
2009-08-06 17:04:36 +02:00
2009-08-06 17:04:36 +02:00