remove exception (#18906)

This commit is contained in:
flywind 2021-10-22 18:15:08 +08:00 • committed by GitHub
commit 4d8108046b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -187,5 +187,12 @@ proc main()=
test2 high(int8), "127"
test2 low(int8), "-128"
block:
const
a: array[3, char] = ['N', 'i', 'm']
aStr = $(a)
doAssert aStr == """['N', 'i', 'm']"""
static: main()
main()