alaviss
e259f80fc7
msgs, ccgstmts: fixes #11572 ( #11621 )
...
* [refactor] msgs: toFilename now return just the filename
The C codegen uses just the file name for stacktrace when
excessiveStackTrace is off (see quotedName),
so there aren't any reason for other codegen to not do the same.
The file name is now cached in TFileInfo.shortName, which was introduced
for nimsuggest, and went unused after several refactoring of the
compiler.
A toProjPath() proc has been added for the previous behavior of
toFilename().
* ccgstmt: use quotedFilename() for raiseExceptionEx
This is the same proc used for stacktrace when --stacktrace:on
Fixes #11572
* msgs: handle case where file name is not available
2019-06-30 12:30:37 +02:00
..
2018-06-13 01:44:19 +02:00
2019-05-11 10:11:08 +02:00
2019-06-26 23:15:58 +02:00
2019-01-09 09:46:44 +01:00
2019-06-24 09:19:02 +02:00
2019-05-29 22:21:51 +02:00
2019-06-11 16:49:56 +02:00
2018-06-03 20:15:37 +02:00
2019-05-07 12:37:28 +02:00
2019-06-06 07:56:19 +02:00
2019-06-26 19:34:05 +02:00
2019-04-17 13:22:22 +02:00
2019-04-11 23:09:11 +02:00
2019-06-30 12:30:37 +02:00
2019-04-11 09:48:10 +02:00
2019-05-07 12:32:05 +02:00
2019-06-28 21:04:49 +02:00
2019-05-29 16:48:00 +02:00
2019-06-26 06:55:43 +02:00
2019-04-23 21:51:38 +02:00
2019-05-24 18:33:53 +02:00
2019-06-20 11:31:20 +02:00
2018-12-16 20:34:07 +01:00
2019-05-29 20:47:28 +02:00
2019-06-24 09:19:02 +02:00
2018-05-27 11:10:56 +02:00
2019-03-07 12:50:33 +01:00
2017-01-07 22:35:09 +01:00
2019-05-07 12:32:05 +02:00
2019-06-24 22:34:54 -07:00
2019-04-24 14:12:16 +02:00
2019-06-20 21:03:48 +02:00
2019-05-28 21:30:41 +02:00
2019-05-11 10:11:08 +02:00
2019-05-29 22:21:51 +02:00
2019-06-05 16:26:23 +02:00
2018-09-07 19:21:16 +02:00
2019-05-07 12:32:05 +02:00
2017-10-29 08:37:13 +01:00
2019-01-22 06:24:45 +01:00
2019-06-19 09:48:55 +02:00
2019-03-23 00:12:05 +01:00
2019-05-07 12:37:28 +02:00
2018-09-07 19:21:16 +02:00
2019-05-07 12:32:05 +02:00
2018-11-20 19:30:00 +01:00
2019-06-26 15:33:51 +02:00
2019-06-03 08:18:15 +02:00
2019-06-24 09:19:02 +02:00
2019-05-07 12:37:28 +02:00
2019-06-26 23:41:20 +02:00
2019-06-28 11:45:21 +02:00
2019-06-26 15:36:44 +02:00
2019-06-20 07:40:45 +02:00
2018-05-27 22:09:15 +02:00
2019-06-02 06:40:07 +02:00
2018-10-30 15:03:28 +01:00
2019-03-10 20:02:47 +01:00
2019-05-03 11:33:29 +02:00
2019-06-20 07:40:45 +02:00
2018-06-04 01:01:08 +02:00
2018-08-22 12:35:46 +02:00
2019-06-05 08:02:54 +02:00
2019-05-13 08:28:33 +02:00
2019-01-31 08:20:00 +01:00
2019-05-28 15:55:11 +02:00
2019-06-30 12:30:37 +02:00
2019-05-21 21:32:37 +02:00
2019-06-03 12:00:28 +02:00
2019-03-04 10:49:55 +01:00
2018-09-07 19:21:16 +02:00
2019-06-13 10:42:37 +02:00
2019-03-13 10:21:24 +01:00
2019-02-28 22:57:57 +01:00
2019-05-07 12:37:28 +02:00
2019-02-26 15:48:55 +01:00
2018-09-07 19:21:16 +02:00
2019-06-26 02:40:10 +02:00
2019-05-08 15:05:21 +02:00
2019-04-03 15:55:53 +02:00
2019-06-26 15:36:44 +02:00
2018-10-09 19:24:02 +02:00
2019-05-07 12:32:05 +02:00
2019-02-26 15:48:55 +01:00
2019-05-11 10:11:08 +02:00
2019-05-25 20:22:57 +02:00
2018-05-27 19:19:12 +02:00
2019-06-20 19:41:03 +02:00
2018-05-27 11:10:56 +02:00
2019-05-07 12:32:05 +02:00
2014-08-28 09:38:14 +02:00
2019-05-29 10:23:39 +02:00
2019-06-26 14:38:19 +02:00
2018-12-03 18:57:44 +01:00
2019-05-14 12:02:26 +02:00
2019-05-07 12:32:05 +02:00
2019-05-07 12:37:28 +02:00
2015-09-04 23:03:22 +02:00
2019-06-15 11:32:26 +02:00
2019-05-29 22:21:51 +02:00
2019-05-07 12:32:05 +02:00
2019-05-26 21:22:02 +02:00
2019-06-26 15:55:27 +02:00
2019-05-07 12:32:05 +02:00
2019-06-24 09:19:02 +02:00
2019-05-24 22:50:43 +02:00
2019-05-07 12:32:05 +02:00
2019-05-22 07:37:25 +02:00
2019-05-14 07:44:39 +02:00
2019-06-04 22:10:39 +02:00
2019-03-23 00:12:05 +01:00
2019-06-12 10:44:45 +02:00
2019-06-26 14:38:19 +02:00
2019-05-21 21:31:40 +02:00
2019-06-05 09:17:04 +02:00
2019-05-15 21:12:07 +02:00
2019-05-07 12:37:28 +02:00
2019-06-02 08:35:09 +02:00
2019-05-07 12:32:05 +02:00
2019-05-11 10:11:08 +02:00
2019-06-26 23:09:57 +02:00
2018-09-03 09:34:31 +02:00
2019-05-08 14:29:42 -07:00
2019-06-03 10:15:20 +02:00
2019-05-07 12:37:28 +02:00
2019-06-12 08:45:47 +02:00
2018-08-22 12:35:46 +02:00
2019-01-14 17:00:54 -08:00
2019-06-24 09:19:02 +02:00
2019-06-24 09:19:02 +02:00
2019-05-11 10:11:08 +02:00
2019-06-24 09:19:02 +02:00
2018-09-07 19:21:16 +02:00
2019-05-07 12:32:05 +02:00
2019-04-11 23:09:11 +02:00
2019-06-20 19:41:03 +02:00
2019-03-23 00:12:05 +01:00