About concept body proc syntax:
    
    
    type
        ConceptA = int  # to avoid the bug
        
        ConceptB = concept c
            # both of these work:
    #       c.myProc(ConceptA)                  # standard
            proc myProc(c: Obj, x: ConceptA)    # declarative
        
        Obj = object
    
    proc myProc(obj: Obj, x: ConceptA) = discard
    
    echo Obj is ConceptB
    

Reply via email to