modified question6.pas
This commit is contained in:
parent
0b72b74aff
commit
ec18666893
|
|
@ -1,6 +1,6 @@
|
||||||
begin
|
begin
|
||||||
var s := 'abcd';
|
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(l is IEnumerable<char>);
|
||||||
assert(not (l is string));
|
assert(not (l is string));
|
||||||
end.
|
end.
|
||||||
Loading…
Reference in a new issue