aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorOlivier Blanvillain <olivier.blanvillain@gmail.com>2017-04-05 09:42:31 +0200
committerOlivier Blanvillain <olivier.blanvillain@gmail.com>2017-04-05 10:30:16 +0200
commitf693ba744124940e3dc5ebfbf0f0c248c61a84d0 (patch)
tree138e04b905d2d86d2b670b959c51756bc297e742 /compiler/src/dotty/tools/dotc/core/Types.scala
parent42c2a6fbbddf73ef2faeb6204c2b7521a76d7345 (diff)
downloaddotty-f693ba744124940e3dc5ebfbf0f0c248c61a84d0.tar.gz
dotty-f693ba744124940e3dc5ebfbf0f0c248c61a84d0.tar.bz2
dotty-f693ba744124940e3dc5ebfbf0f0c248c61a84d0.zip
Deterministically randomises test compilation order
The previous implementation would compile tests in different orders from machine to machine, depending on the order in which *.scala files are listed by the operating system.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Types.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala
index c80107f93..3f40f8a06 100644
--- a/compiler/src/dotty/tools/dotc/core/Types.scala
+++ b/compiler/src/dotty/tools/dotc/core/Types.scala
@@ -1793,7 +1793,7 @@ object Types {
override def newLikeThis(prefix: Type)(implicit ctx: Context): TermRef =
fixDenot(TermRef.withSig(prefix, name, sig), prefix)
- override def shadowed(implicit ctx: Context): NamedType =
+ override def shadowed(implicit ctx: Context): NamedType =
fixDenot(TermRef.withSig(prefix, name.shadowedName, sig), prefix)
override def equals(that: Any) = that match {