parent
7cdf470269
commit
b19ad22b90
2 changed files with 12 additions and 1 deletions
11
tests/js/t14570.nim
Normal file
11
tests/js/t14570.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
discard """
|
||||
output: '''
|
||||
18
|
||||
'''
|
||||
"""
|
||||
|
||||
type A = range[15 .. 30]
|
||||
|
||||
let a: A = 18
|
||||
|
||||
echo ord(a)
|
||||
Loading…
Add table
Add a link
Reference in a new issue