I didn't test and never used the oop library but you are probably missing the 
public export marker `*`
    
    
    import oop
    
    class MyClass:
        var
            value*: int
        
        method init*(value: int){.base.}=
            self.value = value
        
        method print*{.base.}=
            echo self.value
    
    
    Run

Reply via email to