Andrew Kelley
2a6fbbd8fb
introduce @as
builtin for type coercion
...
This commit also hooks up type coercion (previously called implicit
casting) into the result location mechanism, and additionally hooks up
variable declarations, maintaining the property that:
var a: T = b;
is semantically equivalent to:
var a = @as(T, b);
See #1757
2019-11-08 15:57:24 -05:00
..
2019-11-08 15:57:24 -05:00
2019-11-05 13:37:43 -05:00
2019-11-05 12:11:16 -05:00
2019-11-06 18:15:39 -05:00
2019-04-25 00:06:54 -04:00
2019-04-04 22:07:15 -04:00
2019-04-04 22:07:15 -04:00
2019-08-23 11:14:08 -04:00
2019-08-23 11:14:08 -04:00
2018-09-05 23:23:11 -04:00
2018-09-11 17:29:18 -04:00
2019-09-22 15:58:57 -04:00
2019-10-07 12:21:11 -04:00
2019-05-09 20:11:56 -04:00
2019-05-09 12:48:38 -04:00
2019-05-29 14:39:13 -04:00
2019-03-11 10:26:08 -04:00
2019-11-08 15:57:24 -05:00
2019-10-22 17:52:12 -04:00
2019-11-02 18:30:07 -04:00
2019-07-07 17:56:08 -04:00
2019-10-19 03:23:23 -04:00
2019-10-19 03:23:23 -04:00
2019-10-04 20:18:06 -04:00
2017-12-04 19:22:34 +09:00
2019-10-23 19:09:49 -04:00
2019-04-25 00:06:54 -04:00
2019-10-17 20:20:22 -04:00
2019-10-17 20:20:22 -04:00
2019-10-17 11:55:43 -04:00
2019-11-08 15:57:24 -05:00
2019-10-19 03:23:23 -04:00
2019-11-08 15:57:24 -05:00
2019-09-05 13:06:10 -04:00
2019-10-30 21:21:58 -04:00
2019-04-27 16:17:07 -05:00
2019-10-30 21:21:58 -04:00
2019-09-19 11:41:18 -04:00
2019-10-25 13:03:12 -04:00
2019-10-19 03:23:23 -04:00
2019-10-19 03:23:23 -04:00
2019-11-02 18:30:07 -04:00
2019-11-02 18:30:07 -04:00
2019-03-23 13:46:50 -04:00
2019-03-22 16:08:19 -04:00
2019-11-06 14:03:21 -05:00
2019-02-28 10:11:32 -05:00
2019-09-23 16:13:28 -04:00
2017-07-08 17:59:10 -04:00
2017-09-14 01:46:47 -04:00
2019-10-30 21:21:58 -04:00
2019-10-24 19:43:56 -04:00
2019-11-06 14:03:21 -05:00
2019-11-06 14:03:21 -05:00
2019-11-06 13:58:55 -05:00
2019-04-25 00:06:57 -04:00
2019-10-22 17:52:12 -04:00
2019-10-23 19:09:49 -04:00
2019-10-31 13:47:20 -04:00
2019-10-19 03:23:23 -04:00
2018-09-18 00:13:17 -04:00
2018-10-27 11:35:01 -04:00
2018-07-23 00:35:53 -04:00
2019-09-19 23:30:48 -04:00
2019-07-19 18:07:31 -04:00
2019-09-22 11:21:22 -04:00
2019-10-02 19:21:40 -04:00
2019-10-02 19:21:40 -04:00
2019-10-12 10:56:16 +02:00
2019-10-12 10:56:16 +02:00