* Fix #14570
This commit is contained in:
Danil Yarantsev 2020-06-06 10:31:19 +03:00 • committed by GitHub
commit b19ad22b90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

11
tests/js/t14570.nim Normal file
View file

@ -0,0 +1,11 @@
discard """
output: '''
18
'''
"""
type A = range[15 .. 30]
let a: A = 18
echo ord(a)