File tree Expand file tree Collapse file tree 4 files changed +3
-5
lines changed
src/reflect/scala/reflect Expand file tree Collapse file tree 4 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ import scala.annotation.tailrec
59
59
* @groupprio Factories 1
60
60
* @groupname Copying Tree Copying
61
61
* @groupprio Copying 1
62
- * @contentDiagram hideNodes "*Api"
62
+ *
63
+ * @contentDiagram hideNodes "*Api"
63
64
* @group ReflectionAPI
64
65
*/
65
66
trait Trees { self : Universe =>
Original file line number Diff line number Diff line change @@ -881,7 +881,7 @@ trait Definitions extends api.StandardDefinitions {
881
881
def volatileUpperBound = isVolatile(tp.upperBound)
882
882
def safeIsVolatile = (
883
883
if (volatileRecursions < TypeConstants .LogVolatileThreshold )
884
- isVolatile(tp.upperBound)
884
+ volatileUpperBound
885
885
// we can return true when pendingVolatiles contains sym, because
886
886
// a cycle will be detected afterwards and an error will result anyway.
887
887
else pendingVolatiles(sym) || {
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ package scala
14
14
package reflect
15
15
package internal
16
16
17
- import scala .annotation .tailrec
18
17
import util ._
19
18
20
19
trait TypeDebugging {
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ package util
17
17
18
18
import java .lang .System .{lineSeparator => EOL }
19
19
20
- import scala .annotation .tailrec
21
-
22
20
/** This object provides utility methods to extract elements
23
21
* from Strings.
24
22
*
You can’t perform that action at this time.
0 commit comments