diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-04-06 19:47:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 19:47:37 +0200 |
commit | 4d76265fac7edafc2fcf29ce6873fdb252fbba0d (patch) | |
tree | 32a7a72470f72f63e0248a3f324f09fe6f8895ef /compiler/src/dotty/tools/dotc/core/Types.scala | |
parent | 49a18da629d74a6f8d4052c95ce8b967ea08f73d (diff) | |
parent | 8a83bb1f865bdc79cc716034199bc9d350d4f055 (diff) | |
download | dotty-4d76265fac7edafc2fcf29ce6873fdb252fbba0d.tar.gz dotty-4d76265fac7edafc2fcf29ce6873fdb252fbba0d.tar.bz2 dotty-4d76265fac7edafc2fcf29ce6873fdb252fbba0d.zip |
Merge pull request #2193 from dotty-staging/deterministic-tests
Deterministically randomises test compilation order
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Types.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/Types.scala | 2 |
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 83fb70aa1..8ae3aa7ad 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 { |