use typeof instead type (#16962)
This commit is contained in:
parent
4fac8af0c9
commit
d447c0fe3f
31 changed files with 253 additions and 253 deletions
|
|
@ -344,11 +344,11 @@ block troofregression:
|
|||
if $a != b:
|
||||
echo "Failure ", a, " != ", b
|
||||
|
||||
check type(4 ...< 1), "HSlice[system.int, system.int]"
|
||||
check type(4 ...< ^1), "HSlice[system.int, system.BackwardsIndex]"
|
||||
check type(4 ... pred(^1)), "HSlice[system.int, system.BackwardsIndex]"
|
||||
check type(4 ... mypred(8)), "HSlice[system.int, system.int]"
|
||||
check type(4 ... mypred(^1)), "HSlice[system.int, system.BackwardsIndex]"
|
||||
check typeof(4 ...< 1), "HSlice[system.int, system.int]"
|
||||
check typeof(4 ...< ^1), "HSlice[system.int, system.BackwardsIndex]"
|
||||
check typeof(4 ... pred(^1)), "HSlice[system.int, system.BackwardsIndex]"
|
||||
check typeof(4 ... mypred(8)), "HSlice[system.int, system.int]"
|
||||
check typeof(4 ... mypred(^1)), "HSlice[system.int, system.BackwardsIndex]"
|
||||
|
||||
var rot = 8
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue