This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Foo1 { | |
trait Foo2 { | |
trait Foo3 { | |
trait Foo4 { | |
trait Foo5 { | |
trait Foo6 { | |
trait Foo2 { | |
trait Foo3 { | |
trait Foo4 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quick.comp: | |
[scalacfork] Compiling 144 files to /home/hubert/tmp/repos/scala-dev/build/quick/classes/compiler | |
[scalacfork] /home/hubert/tmp/repos/scala-dev/src/compiler/scala/tools/nsc/doc/html/page/diagram/DotDiagramGenerator.scala:336: warning: This catches all Throwables. If this is really intended, use `case exc : Throwable` to clear this warning. | |
[scalacfork] case exc => | |
[scalacfork] ^ | |
[scalacfork] error: | |
[scalacfork] while compiling: /home/hubert/tmp/repos/scala-dev/src/compiler/scala/tools/util/VerifyClass.scala | |
[scalacfork] during phase: jvm | |
[scalacfork] library version: version 2.11.0-20120725-151122-fe513d1f14 | |
[scalacfork] compiler version: version 2.11.0-20120725-151122-fe513d1f14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Base[T] | |
trait Foo[T] extends Base[T] { | |
} | |
object Impl { | |
implicit def f[Z](a: Foo[Z]): Result = null | |
implicit def f[Z](a: Base[Z]): Result = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class Foo { | |
type T | |
implicit val m: Manifest[T] | |
def v: T | |
def prev: Foo | |
} | |
case class A(a: Int, prev: Foo) extends Foo { | |
type T = Int | |
implicit val m = manifest[Int] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Base[T] | |
trait Foo[T] extends Base[T] { | |
} | |
object Impl { | |
implicit def f[Z](a: Foo[Z]): Result = null | |
implicit def f[Z](a: Base[Z]): Result = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Types { | |
trait Sth | |
case class A(a: Int) extends Sth { | |
println("New instance of A!" + a) | |
} | |
object Settings { | |
var debug: Boolean = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object ImplicitConvAmbiguity2 { | |
class N[T] | |
class NE[T] extends N[T] | |
class NN[T] extends N[T] | |
class NQ[T] extends N[T] | |
class NZ[T] extends N[T] | |
class AA[A] | |
class BB[A] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library: | |
src/library/scala/package.scala: @deprecated("Use Tuple1(x) to create a 1-tuple.") | |
src/library/scala/package.scala- def Tuple[A1](x1: A1) = Tuple1(x1) | |
src/library/scala/package.scala: @deprecated("Use ((x1, x2, ...)) syntax to create Tuples") | |
src/library/scala/package.scala- def Tuple[A1, A2](x1: A1, x2: A2) = Tuple2(x1, x2) | |
src/library/scala/package.scala: @deprecated("Use ((x1, x2, ...)) syntax to create Tuples") | |
src/library/scala/package.scala- def Tuple[A1, A2, A3](x1: A1, x2: A2, x3: A3) = Tuple3(x1, x2, x3) | |
src/library/scala/package.scala: @deprecated("Use ((x1, x2, ...)) syntax to create Tuples") | |
src/library/scala/package.scala- def Tuple[A1, A2, A3, A4](x1: A1, x2: A2, x3: A3, x4: A4) = Tuple4(x1, x2, x3, x4) | |
src/library/scala/package.scala: @deprecated("Use ((x1, x2, ...)) syntax to create Tuples") |