summary refs log tree commit diff stats
path: root/tests/lookups
Commit message (Expand)AuthorAgeFilesLines
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ...Timothee Cour2020-11-281-1/+1
* implement the 'bind' statement for generics, it was an oversight that this wa...Andreas Rumpf2020-06-071-0/+17
* Allow void macro result (#11286)Arne Döring2019-05-211-1/+1
* updated tests to be executedArne Döring2018-11-231-1/+7
* delete old cruftArne Döring2018-11-231-4/+0
* fixes #4353Andreas Rumpf2016-08-041-0/+4
* fixes #4555Andreas Rumpf2016-08-021-0/+17
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-042-3/+3
* make tests greenAraq2014-08-311-1/+1
* Changed tests and tools to use 'discard' statements instead of 'nil' for empt...Clay Sweetser2014-02-151-7/+7
* tester support html generationAraq2014-01-141-0/+29
* new tester; all tests categorizedAraq2014-01-131-0/+17
id='n1' href='#n1'>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
           
                                                                 




                       
 
                   
         
 





           
discard """
  outputsub: "value out of range: 50 notin 0 .. 40 [RangeDefect]"
  exitcode: "1"
"""

type
  TRange = range[0..40]

proc p(r: TRange) =
  discard

var
  r: TRange
  y = 50
r = y

#p y