This code compiles without errors in Nim 2.0.6:
    
    
    type MyObj* = ref object of RootObj
    
    type
      EventFuncBool* = proc (myObj: MyObj): bool
    
    type MyObjFilter* = ref object of RootObj
      myObjHandlerBoolSeq: seq[EventFuncBool]
      #                  ^ Use ':' instead of '='
    
    Run

Reply via email to