summary refs log tree commit diff stats
path: root/tests/stdlib/theapqueue.nim
Commit message (Expand)AuthorAgeFilesLines
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-271-1/+1
* Improve the heapqueue module (#17034)konsumlamm2021-02-151-34/+83
* heapqueue minor improvement (#16088)flywind2020-11-211-0/+53
us revision' href='/akspecs/ranger/blame/ranger/ext/next_available_filename.py?id=2081cbe1f64017100ccfccd34a75d7731ff77dae'>^
d1a1173d ^
ec609329 ^
d1a1173d ^





ec609329 ^
d1a1173d ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
                                                             
                                                                        



                                                  
                                          
 





                                       
 


                                                
e>11
12
13
14
15


                   
                              
             
 


                     
 
                         
         
 

                      
type
  TMyObj = TYourObj
  TYourObj = object of RootObj
    x, y: int

proc init: TYourObj =
  result.x = 0
  result.y = -1

proc f(x: var TYourObj) =
  discard

var m: TMyObj = init()
f(m)