- replaced ':' (deprecated) by 'requires' in test/files/pos/bug211.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5547 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
797104f761
commit
ad3317acbc
|
@ -1,6 +1,6 @@
|
|||
trait A;
|
||||
trait B;
|
||||
class Foo: (A with B) extends A with B;
|
||||
class Foo requires (A with B) extends A with B;
|
||||
object Test extends Application {
|
||||
new Foo();
|
||||
System.out.println("bug211 completed");
|
||||
|
|
Loading…
Reference in New Issue