1 // https://issues.dlang.org/show_bug.cgi?id=20073
5 fail_compilation/fail20073.d(20): Error: cannot implicitly convert expression `s` of type `S` to `string`
6 fail_compilation/fail20073.d(21): Error: cannot implicitly convert expression `s` of type `S` to `string`
13 auto slice() inout { return x
[0 .. 10]; }
20 string
str = s
; // cannot implicitly convert expression `s` of type `S` to `string`
21 return s
; // and suddenly we can!