remove old implementation of the roof operator; make tests green again; close #6292
This commit is contained in:
parent
d52a1061b3
commit
f1dab39086
13 changed files with 28 additions and 161 deletions
|
|
@ -1,8 +1,7 @@
|
|||
discard """
|
||||
errormsg: "invalid context for '^' as len!=high+1 for 'a'"
|
||||
line: "8"
|
||||
output: '''c'''
|
||||
"""
|
||||
|
||||
var a: array[1..3, string]
|
||||
var a: array['a'..'c', string] = ["a", "b", "c"]
|
||||
|
||||
echo a[^1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue