summaryrefslogtreecommitdiff
path: root/test/files/neg/t0764.check
blob: 9f0cedc69b806136e6d62864e8f2ce5c7bd5871f (plain) (blame)
1
2
3
4
5
6
t0764.scala:13: error: type mismatch;
 found   : java.lang.Object with Node{type T = _1.type} where val _1: Node{type T = NextType}
 required: Node{type T = Main.this.AType}
	new Main[AType]( (value: AType).prepend )
                                        ^
one error found