modified question6.pas
This commit is contained in:
parent
0b72b74aff
commit
ec18666893
|
|
@ -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.
|
||||
Loading…
Reference in a new issue