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-01-05 23:39:32 +00:00
2011-02-20 19:00:45 +03:00
2009-06-21 19:05:24 +02:00
2011-03-26 19:30:17 +03:00
2011-04-24 12:21:33 +02:00
2009-03-06 16:00:47 +01:00
2011-03-26 19:30:17 +03:00
2009-05-16 13:06:49 +02:00
2011-05-11 21:13:43 +04:00
2011-01-03 16:50:08 +03:00
2011-02-23 12:49:57 +03:00
2011-05-05 20:56:46 -06:00
2011-01-05 18:21:40 +03:00
2010-10-29 23:06:01 +02:00
2011-04-24 12:21:33 +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
2011-04-24 12:21:33 +02:00
2009-05-30 13:04:49 +02:00
2011-04-24 12:21:33 +02:00
2010-12-15 20:30:38 +03:00
2011-04-20 09:28:37 -06:00
2009-06-08 19:48:20 +02:00
2010-12-30 14:04:24 +03:00
2010-12-17 12:55:28 +03:00
2009-04-12 12:52:01 +02:00
2009-06-07 16:00:13 +02:00
2011-07-27 23:01:22 +02:00
2010-09-30 21:54:45 +04:00
2011-04-20 09:28:37 -06:00
2011-04-24 12:21:33 +02:00
2010-03-09 23:07:08 +02:00
2010-03-09 23:07:08 +02:00
2011-04-24 12:21:33 +02:00
2009-05-07 15:33:06 +02:00
2009-07-13 20:16:15 +02:00
2011-04-24 12:21:33 +02:00
2010-12-30 14:04:24 +03: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-07-31 11:28:31 +02:00
2009-08-14 00:39:18 +02:00
2011-08-17 02:33:33 +02:00
2011-04-24 11:39:53 +02:00
2011-04-20 20:44:49 +02:00
2009-06-07 16:00:13 +02:00
2011-04-20 09:28:37 -06:00
2011-04-20 09:28:37 -06: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-08-12 20:14:55 +02:00
2011-02-23 12:49:57 +03:00
2009-05-14 20:36:55 +02:00
2011-04-30 15:30:57 +04:00
2011-04-30 17:35:40 +04:00
2011-04-20 09:28:37 -06:00
2011-04-30 15:30:58 +04:00
2011-04-30 15:30:57 +04:00
2011-01-06 11:45:38 +03:00
2011-04-24 12:21:33 +02:00
2009-03-07 19:38:00 +01:00
2009-05-02 11:58:50 +02:00
2011-04-30 15:30:57 +04:00
2011-04-20 09:28:37 -06:00
2009-08-06 17:04:36 +02:00
2009-08-06 17:04:36 +02:00