alaviss
0adb47aa15
system/excpt: check if the exception is not nil before pop ( #18247 )
...
In CPS we would consume an exception in the except branch by stashing it
into a local then remove the exception from Nim environment so as not to
leak it to other code that would be running before the continuation
continues
However since popCurrentException() assumes that the exception always
exist, removing the exception from an except branch will cause a
SIGSEGV to happen. This commit fixes that.
2021-06-14 18:26:12 +02:00
..
2020-12-21 09:41:56 -08:00
2021-05-06 13:27:40 +02:00
2021-05-01 11:10:40 +02:00
2021-02-28 23:08:12 -08:00
2021-03-07 12:08:41 +01:00
2021-02-28 23:08:12 -08:00
2021-06-02 09:02:14 -07:00
2021-04-17 11:14:09 +02:00
2020-12-06 05:51:29 +01:00
2017-01-31 13:08:47 +01:00
2021-02-28 23:08:12 -08:00
2020-10-28 14:00:49 +01:00
2020-05-29 12:08:17 +02:00
2020-10-19 14:50:06 +02:00
2021-03-26 16:27:55 +01:00
2019-02-26 15:48:55 +01:00
2021-03-12 13:04:32 +01:00
2021-03-29 17:54:28 +02:00
2021-04-03 07:15:21 +02:00
2021-05-01 11:10:40 +02:00
2021-03-29 09:11:07 +08:00
2020-11-18 22:31:06 +01:00
2020-10-28 14:00:49 +01:00
2021-06-03 12:09:40 +02:00
2021-06-07 11:42:32 +02:00
2021-04-09 16:29:10 +02:00
2021-04-07 13:40:57 +02:00
2021-05-19 19:19:11 +02:00
2021-06-14 18:26:12 +02:00
2021-01-04 18:27:58 +01:00
2021-06-01 22:29:53 +02:00
2021-03-03 13:37:42 +01:00
2021-04-07 23:26:53 +02:00
2019-09-16 23:54:31 +02:00
2020-05-12 15:46:24 +02:00
2021-04-14 12:10:01 +02:00
2020-12-21 09:41:56 -08:00
2021-04-14 12:10:01 +02:00
2021-04-17 11:14:09 +02:00
2021-02-17 09:32:36 +01:00
2019-06-11 14:34:21 +02:00
2020-05-05 00:48:13 +02:00
2021-05-01 11:10:40 +02:00
2021-02-28 13:17:19 -08:00
2021-06-11 10:07:23 +02:00
2021-06-13 07:32:47 +02:00
2021-03-28 20:21:27 -07:00
2021-02-17 09:32:36 +01:00
2021-01-22 19:51:11 +01:00
2021-03-30 20:15:14 +02:00
2021-02-28 23:15:26 -08:00
2021-05-12 22:00:37 +02:00
2020-05-16 21:56:52 +02:00
2021-05-08 09:56:46 +02:00
2018-12-19 10:02:20 +01:00
2021-04-22 08:08:56 +02:00
2021-04-17 11:14:09 +02:00
2021-04-17 11:14:09 +02:00
2021-06-07 11:42:32 +02:00
2020-10-19 14:50:06 +02:00
2021-05-18 21:45:37 +02:00
2020-12-03 14:47:44 +01:00
2021-03-22 00:36:48 +01:00
2021-02-28 23:15:26 -08:00
2021-06-03 12:09:40 +02:00
2021-03-03 08:08:52 +08:00
2021-05-15 06:50:39 +02:00
2021-04-19 10:51:13 +02:00
2021-03-03 13:37:42 +01:00
2021-04-19 10:51:13 +02:00
2021-04-16 08:50:44 +02:00
2020-01-30 10:54:50 +01:00
2021-04-19 13:16:10 +02:00