summary refs log blame commit diff stats
path: root/icons/nim-amd64-windows-vcc.res
blob: b2d8fc9eb413771f524e8562847936942eed0af1 (plain) (tree)
blob is binary.
able class='blame blob'>
1
2
3
4
5
6
7
8

                        

                                      
   


                            



                                                                 

                                                 
discard """
  file: "tbug499771.nim"
  output: '''TSubRange: 5 from 1 to 10
true true true'''
"""
type 
  TSubRange = range[1 .. 10]
  TEnum = enum A, B, C
var sr: TSubRange = 5
echo("TSubRange: " & $sr & " from " & $low(TSubRange) & " to " & 
     $high(TSubRange))

const cset = {A} + {B}
echo A in cset, " ", B in cset, " ", C notin cset