modified question6.pas

This commit is contained in:
Ivan Bondarev 2021-09-29 20:11:41 +02:00
parent 0b72b74aff
commit ec18666893

View file

@ -1,6 +1,6 @@
begin
var s := 'abcd';
var l := false ? s : s.Take(3);
var l: sequence of char := false ? s : s.Take(3);
assert(l is IEnumerable<char>);
assert(not (l is string));
end.