summaryrefslogblamecommitdiff
path: root/test/files/neg/saito.check
blob: 061a45b76ec4a9596de337e2987b9bf5f6a7202a (plain) (tree)
1
2
3
4
                                                                                                           
                                                  
                    
               
saito.scala:10: error: class A cannot be instantiated because it does not conform to its self-type A with B
        val a: A = new A; // should not be allowed
                   ^
one error found