remove old implementation of the roof operator; make tests green again; close #6292

This commit is contained in:
Andreas Rumpf 2017-10-29 20:36:07 +01:00
commit f1dab39086
13 changed files with 28 additions and 161 deletions

View file

@ -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]