diff options
Diffstat (limited to 'bridge/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala')
-rw-r--r-- | bridge/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bridge/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala b/bridge/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala deleted file mode 100644 index 60fe40879..000000000 --- a/bridge/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala +++ /dev/null @@ -1,10 +0,0 @@ -class Dep { - // The API representation for `bla`'s result type contains a cycle - // (an existential's type variable's bound is the existential type itself) - // This results in a stack overflow while showing the API diff. - // Note that the actual result type in the compiler is not cyclic - // (the f-bounded existential for Comparable is truncated) - def bla(c: Boolean) = if (c) new Value else "bla" -} - -class Value extends java.lang.Comparable[Value] { def compareTo(that: Value): Int = 1 }
\ No newline at end of file |