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-06 18:15:39 -05:00
2019-04-04 22:07:15 -04:00
2019-04-04 22:07:15 -04:00
2018-09-05 23:23:11 -04:00
2019-09-22 15:58:57 -04:00
2019-05-09 20:11:56 -04:00
2019-05-29 14:39:13 -04:00
2019-10-23 19:09:49 -04:00
2019-10-17 11:55:43 -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-10-30 21:21:58 -04:00
2019-09-19 11:41:18 -04:00
2019-10-25 13:03:12 -04:00
2019-03-23 13:46:50 -04:00
2019-10-30 21:21:58 -04:00
2019-11-06 13:58:55 -05:00
2019-10-23 19:09:49 -04:00
2018-10-27 11:35:01 -04:00
2019-09-22 11:21:22 -04:00
2019-10-12 10:56:16 +02:00
2019-10-12 10:56:16 +02:00