Wesley Wigham
4e6b2f3c93
Created a branded type for identifier-escaped strings ( #16915 )
...
* Created a branded type for escaped strings
Then flowed it throughout the compiler, finding and fixing a handful of
bugs relating to underscore-prefixed identifiers in the process.
Includes a test for two cases noticed - diagnostics from conflicting
symbols from export *'s, and enum with underscore prefixed member emit.
* Correctly double underscores WRT mapped types
* Add fourslash tests for other fixed issues
* use function call over cast
* Update forEachEntry type accuracy
* Just use escaped names for ActiveLabel
* Remove casts from getPropertyNameForPropertyNameNode
* This pattern has occurred a few times, could use a helper function.
* Remove duplicated helper
* Remove unneeded check, use helper
* Identifiers list is no longer escaped strings
* Extract repeated string-getting code into helper
* Rename type and associated functions
* Make getName() return UnderscoreEscapedString, add getUnescapedName()
* Add list of internal symbol names to escaped string type to cut back on casting
* Remove outdated comments
* Reassign interned values to nodes, just in case
* Swap to string enum
* Add deprecated aliases to escapeIdentifier and unescapeIdentifier
* Add temp var
* Remove unsafe casts
* Rename escaped string type as per @sandersn's suggestion, fix string enum usages
* Reorganize double underscore tests
* Remove jfreeman from TODO
* Remove unneeded parenthesis
2017-07-06 14:45:50 -07:00
..
2017-06-15 09:59:37 -07:00
2017-05-10 11:02:17 -07:00
2017-05-10 11:02:17 -07:00
2017-05-12 10:26:39 -07:00
2017-06-20 11:52:05 -07:00
2017-06-27 09:14:23 -07:00
2017-05-01 11:42:22 -07:00
2017-06-01 11:01:00 -07:00
2017-06-01 11:01:00 -07:00
2017-03-24 12:56:54 -07:00
2017-03-21 22:54:06 -07:00
2017-03-16 18:02:34 -07:00
2017-03-16 09:52:19 -07:00
2017-03-22 14:50:01 -07:00
2017-03-15 18:09:55 -07:00
2017-03-16 09:52:19 -07:00
2017-03-15 18:09:55 -07:00
2017-05-15 18:42:49 -07:00
2017-03-17 11:54:51 -07:00
2017-05-15 18:42:49 -07:00
2017-03-17 11:54:51 -07:00
2017-05-15 12:42:28 -07:00
2017-03-15 18:09:55 -07:00
2017-05-15 12:42:28 -07:00
2017-03-27 11:53:44 -07:00
2017-05-15 18:42:49 -07:00
2017-03-16 18:02:34 -07:00
2017-06-26 12:33:29 -07:00
2017-03-26 22:45:13 -07:00
2017-03-16 16:09:54 -07:00
2017-03-16 18:02:34 -07:00
2017-06-30 10:12:02 -07:00
2017-06-30 10:12:02 -07:00
2017-06-30 10:12:02 -07:00
2017-03-22 16:23:21 -07:00
2017-03-22 16:23:21 -07:00
2017-03-22 16:23:21 -07:00
2017-03-22 16:23:21 -07:00
2017-03-22 16:23:21 -07:00
2017-03-22 16:23:21 -07:00
2017-06-01 11:01:00 -07:00
2017-06-01 14:12:25 -07:00
2017-06-01 11:17:24 -07:00
2017-06-01 11:01:00 -07:00
2017-05-31 17:18:36 -07:00
2017-06-12 15:36:34 -07:00
2017-06-07 12:28:52 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-05-12 12:13:16 -07:00
2017-06-15 11:16:35 -07:00
2017-06-04 14:26:18 -07:00
2017-06-27 09:14:23 -07:00
2017-05-10 17:26:47 -07:00
2017-06-27 09:14:23 -07:00
2017-05-04 14:38:06 -07:00
2017-06-08 17:21:36 -07:00
2017-06-01 10:59:24 -07:00
2017-06-15 11:16:35 -07:00
2017-06-15 11:16:35 -07:00
2017-05-05 11:30:32 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-05-05 11:30:32 -07:00
2017-05-05 11:30:32 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-05-05 11:30:32 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-05-17 12:51:37 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-06 11:27:31 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-01 10:59:24 -07:00
2017-06-12 12:12:51 -07:00
2017-05-08 10:33:48 -07:00
2017-06-01 10:59:24 -07:00
2017-06-06 13:35:29 -07:00
2017-06-06 13:35:29 -07:00
2017-06-06 14:58:18 -07:00
2017-06-06 14:58:18 -07:00
2017-06-06 14:58:18 -07:00
2017-06-29 15:14:09 -07:00
2017-07-06 14:45:50 -07:00
2017-07-06 14:45:50 -07:00
2017-03-17 08:04:04 -07:00
2017-06-01 10:59:24 -07:00
2017-06-09 10:01:17 -07:00
2017-06-09 10:40:52 -07:00
2017-03-29 13:57:51 -07:00
2017-04-21 07:55:16 -07:00
2017-06-07 11:16:12 -07:00
2017-06-07 11:16:12 -07:00
2017-06-07 11:16:12 -07:00
2017-03-27 11:46:38 -07:00
2017-05-10 12:15:30 -07:00
2017-05-10 12:21:01 -07:00
2017-05-15 08:34:05 -07:00
2017-05-10 11:02:17 -07:00
2017-05-23 09:14:19 -07:00
2017-04-12 11:47:23 -07:00
2017-03-16 11:01:48 -07:00
2017-06-09 14:52:01 -07:00
2017-06-09 14:52:01 -07:00
2017-06-09 14:52:01 -07:00
2017-06-09 14:52:01 -07:00
2017-06-28 13:30:23 -07:00
2017-05-17 08:02:07 -07:00
2017-05-08 13:51:08 -07:00
2017-05-01 09:03:12 -07:00
2017-05-10 11:52:19 -07:00
2017-05-15 14:45:30 -07:00
2017-05-10 11:52:19 -07:00
2017-05-10 11:52:19 -07:00
2017-05-10 11:52:19 -07:00
2017-05-10 11:52:19 -07:00
2017-06-12 11:08:21 -07:00
2017-06-12 11:08:21 -07:00
2017-06-20 11:52:05 -07:00
2017-05-02 09:42:32 -07:00
2017-05-30 08:04:18 +02:00
2017-06-26 10:55:04 -07:00
2017-06-28 13:13:53 -07:00
2017-06-20 11:52:05 -07:00
2017-03-29 09:52:52 +02:00
2017-03-28 18:20:33 +02:00
2017-06-20 11:52:05 -07:00
2017-05-01 23:11:59 +09:00
2017-06-20 11:52:05 -07:00
2017-06-15 11:16:35 -07:00
2017-05-22 16:48:45 -07:00
2017-06-27 09:14:23 -07:00
2017-06-27 09:14:23 -07:00
2017-06-27 09:14:23 -07:00
2017-06-27 09:14:23 -07:00
2017-06-27 09:14:23 -07:00
2017-06-06 14:45:28 -07:00
2017-05-15 14:45:30 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-10 11:02:17 -07:00
2017-06-15 11:16:35 -07:00
2017-05-12 10:26:39 -07:00
2017-06-09 10:01:17 -07:00
2017-06-09 18:34:21 -07:00
2017-05-11 15:49:30 -07:00
2017-03-29 13:57:51 -07:00
2017-03-16 15:53:05 -07:00
2017-03-16 15:53:05 -07:00
2017-03-16 15:53:05 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-02 17:18:40 -07:00
2017-05-02 17:18:40 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-05-01 11:42:22 -07:00
2017-06-05 14:23:39 -07:00
2017-06-05 14:23:39 -07:00
2017-06-05 14:23:39 -07:00
2017-06-08 14:31:23 -07:00
2017-06-14 21:41:19 -07:00
2017-06-14 21:41:19 -07:00
2017-06-19 16:18:42 -07:00
2017-05-04 16:13:32 -07:00
2017-04-03 08:53:49 -07:00
2017-03-31 17:58:41 -07:00
2017-06-07 12:28:52 -07:00
2017-05-15 14:45:30 -07:00
2017-03-31 17:58:41 -07:00
2017-05-29 21:48:43 -07:00
2017-05-26 09:52:46 -07:00
2017-05-26 09:52:46 -07:00
2017-05-26 09:52:46 -07:00
2017-06-01 16:27:43 -07:00
2017-05-23 16:11:23 -07:00
2017-05-23 16:11:23 -07:00
2017-06-05 17:09:40 -07:00
2017-06-01 16:27:43 -07:00
2017-06-05 17:09:40 -07:00
2017-06-05 16:19:32 -07:00
2017-06-01 10:59:24 -07:00
2017-03-31 17:58:41 -07:00
2017-05-10 11:02:17 -07:00
2017-05-12 10:26:39 -07:00
2017-05-23 08:03:43 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-05 11:30:32 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-03-16 11:01:48 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-05-23 09:14:19 -07:00
2017-06-28 12:53:12 -07:00
2017-05-10 11:52:19 -07:00
2017-05-10 11:52:19 -07:00
2017-05-23 09:14:19 -07:00
2017-03-27 14:17:27 -07:00
2017-03-27 14:17:27 -07:00
2017-03-29 13:57:51 -07:00
2017-06-26 10:55:04 -07:00
2017-06-07 11:28:26 -07:00
2017-06-27 09:14:23 -07:00
2017-05-08 12:00:52 -07:00
2017-06-27 09:14:23 -07:00
2017-06-30 19:41:09 -07:00
2017-06-30 19:41:09 -07:00
2017-06-27 09:14:23 -07:00
2017-05-30 08:04:18 +02:00
2017-05-30 08:04:18 +02:00
2017-05-10 11:52:19 -07:00
2017-04-19 22:33:54 -07:00
2017-04-17 13:00:38 -07:00
2017-05-12 10:26:39 -07:00
2017-06-13 11:43:13 -07:00
2017-06-13 11:43:13 -07:00
2017-05-12 10:26:39 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 19:22:29 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-06 14:11:11 -07:00
2017-06-08 19:00:08 -07:00
2017-06-06 14:11:11 -07:00
2017-06-06 14:11:11 -07:00
2017-06-06 14:11:11 -07:00
2017-06-06 14:11:11 -07:00
2017-06-08 19:00:08 -07:00
2017-06-06 14:11:11 -07:00
2017-06-06 14:11:11 -07:00
2017-06-06 14:11:11 -07:00
2017-06-06 14:11:11 -07:00
2017-06-08 19:00:08 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 19:22:29 -07:00
2017-06-06 14:11:11 -07:00
2017-06-08 19:00:08 -07:00
2017-06-08 19:22:29 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-06 14:11:11 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00
2017-06-08 18:59:30 -07:00