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
- Nim 2.0.6: invalid type: 'typedesc[seq[EventFuncBool]]' for c... siminis
- Nim 2.0.6: invalid type: 'typedesc[seq[EventFuncBool]]' ... demotomohiro
