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-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2017-05-23 21:38:31 -04:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2017-08-29 07:51:34 -04:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2017-05-01 13:12:38 -04:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2018-02-23 15:55:57 +01:00
2018-01-25 04:10:11 -05:00
2018-01-31 22:48:40 -05:00
2018-02-02 14:26:14 -05:00
2018-01-25 04:10:11 -05:00
2018-02-09 11:16:04 -05:00
2018-02-16 15:22:29 -05:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2017-09-09 22:54:50 -04:00
2018-01-25 04:10:11 -05:00
2018-02-02 14:26:14 -05:00
2018-02-14 23:12:51 -05:00
2018-02-22 19:54:02 +01:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2018-02-02 14:26:14 -05:00
2017-08-08 17:38:25 -04:00
2018-01-25 04:10:11 -05:00
2018-02-15 12:14:20 -05:00
2017-05-19 10:39:59 -04:00
2018-01-27 18:30:36 -05:00
2018-02-02 14:26:14 -05:00
2018-01-31 22:48:40 -05:00
2018-02-02 14:26:14 -05:00
2018-01-25 04:10:11 -05:00
2018-01-25 04:10:11 -05:00
2018-02-02 14:26:14 -05:00
2018-01-25 04:10:11 -05:00
2018-02-02 14:26:14 -05:00
2018-01-25 04:10:11 -05:00
2017-05-23 21:38:31 -04:00
2018-02-02 14:26:14 -05:00