Probably because the overloaded PresentModeA is not generic so you can't use 
this syntax `PresentModeA[Foo]`, try with that:
    
    
    proc PresentModeA*[T: bool](d: T) = ...
    

Reply via email to