Ben Noordhuis
f11b948019
allow implicit cast from S to ?&const S
...
Allow implicit casts from container types to nullable const pointers to
said container type. That is:
fn f() void {
const s = S {};
g(s); // Works.
g(&s); // So does this.
}
fn g(_: ?&const S) void { // Nullable const pointer.
}
Fixes #731 .
2018-02-23 15:55:57 +01:00
..
2018-02-08 11:09:18 -05:00
2018-02-15 12:14:20 -05:00
2018-02-04 22:06:03 -05:00
2018-02-02 18:13:32 -05:00
2017-09-02 04:11:23 -04:00
2017-09-14 01:46:47 -04:00
2017-09-14 01:46:47 -04:00
2018-01-17 14:31:47 +01:00
2017-12-02 22:32:39 -05:00
2018-01-11 21:02:30 -05:00
2017-09-13 02:40:02 -04:00
2017-12-07 11:52:52 -05:00
2017-12-07 11:52:52 -05:00
2018-02-16 15:22:29 -05:00
2018-02-04 22:06:03 -05:00
2018-01-04 22:46:26 -05:00
2017-12-04 19:22:34 +09:00
2016-09-19 11:54:01 -04:00
2017-11-29 23:09:35 -05:00
2017-11-29 23:09:35 -05:00
2016-12-01 21:08:12 -05:00
2018-02-02 18:13:32 -05:00
2017-04-23 14:34:40 -04:00
2018-02-23 15:55:57 +01:00
2017-09-02 04:11:23 -04:00
2018-01-07 04:43:08 -05:00
2016-02-11 01:33:27 -07:00
2017-04-10 20:02:39 -04:00
2018-02-08 20:45:26 -05:00
2018-01-20 02:49:53 -05:00
2017-12-26 19:44:08 -05:00
2018-02-08 22:30:08 -05:00
2017-09-13 02:40:02 -04:00
2017-07-08 17:59:10 -04:00
2017-07-08 17:59:10 -04:00
2017-09-14 01:46:47 -04:00
2018-01-06 23:10:53 -05:00
2018-01-06 23:10:53 -05:00
2018-02-14 23:00:53 -05:00
2018-02-14 23:00:53 -05:00
2018-01-25 04:10:11 -05:00
2017-11-24 14:56:05 -05:00
2017-10-01 21:05:08 -04:00
2018-02-08 02:08:45 -05:00
2017-11-01 15:33:14 -04:00
2018-02-13 10:54:46 -05:00
2018-01-31 01:51:31 -05:00