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