summaryrefslogblamecommitdiff
path: root/test/files/neg/saito.check
blob: f78b300b4c14628f93ce3304db65552aeb793e34 (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