David Nadlinger
3ec084da59
Return undef instead of null on toConstElem failure.
...
This fixes a segfault with associative array literals of
arrays of associative array literals, which occured because
of arrayLiteralToConst not handling null values properly.
Ensuring that null pointers are handled correctly in all
toConstElem callers is much more error-prone than just
returning an LLVM undef, an error is emitted anyway.
The root of the problem is actually in the kludgly
implementation of AssocArrayLiteral::toElem, we should
revisit this at some point.
2013-12-27 18:35:50 +01:00
..
2013-12-16 15:00:00 +01:00
2013-06-17 13:31:21 +02:00
2013-10-29 19:21:15 +01:00
2013-02-10 22:08:35 +01:00
2013-10-05 19:03:03 +04:00
2013-03-29 20:15:37 +01:00
2013-10-05 19:03:03 +04:00
2013-02-10 22:08:35 +01:00
2013-10-29 19:21:15 +01:00
2013-02-07 21:20:55 +01:00
2013-10-05 19:03:03 +04:00
2013-02-07 21:20:55 +01:00
2013-10-05 19:03:03 +04:00
2013-10-29 19:21:15 +01:00
2013-12-19 20:35:54 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-07-29 00:04:08 +02:00
2013-03-06 18:18:00 +01:00
2013-02-07 21:20:55 +01:00
2013-10-29 19:21:15 +01:00
2013-11-28 07:59:01 +01:00
2013-10-29 19:21:15 +01:00
2013-03-17 00:50:05 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-11-26 08:00:10 +01:00
2013-10-29 19:21:15 +01:00
2013-10-05 19:03:03 +04:00
2013-10-29 19:21:15 +01:00
2013-12-19 21:27:53 +01:00
2013-10-29 19:21:15 +01:00
2013-07-29 00:04:08 +02:00
2013-10-29 19:21:15 +01:00
2012-12-16 17:19:14 +01:00
2012-12-16 17:19:14 +01:00
2013-02-07 21:20:55 +01:00
2013-05-31 20:48:38 +02:00
2013-12-08 14:37:15 +04:00
2013-10-13 21:37:53 +02:00
2013-10-15 01:50:44 +02:00
2013-02-07 21:20:55 +01:00
2013-06-07 02:48:53 +02:00
2013-12-18 16:54:49 +01:00
2013-10-29 19:21:15 +01:00
2013-12-08 19:29:10 +01:00
2013-03-06 18:18:00 +01:00
2013-11-05 13:03:52 +01:00
2013-11-05 13:03:52 +01:00
2013-03-06 18:18:00 +01:00
2013-10-29 19:21:15 +01:00
2013-06-29 14:20:44 +02:00
2013-06-29 14:20:44 +02:00
2013-10-13 19:18:24 +02:00
2013-10-29 19:21:15 +01:00
2013-12-12 20:02:45 +01:00
2013-10-24 00:25:36 +02:00
2013-11-20 17:00:37 +01:00
2013-12-26 12:37:03 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-12-27 18:35:50 +01:00
2013-12-26 15:29:58 +01:00
2013-11-04 02:21:05 +01:00
2013-10-29 19:21:15 +01:00
2013-12-08 14:43:45 +04:00
2013-10-29 19:21:15 +01:00
2013-02-07 21:20:55 +01:00
2013-02-07 21:20:55 +01:00