diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-05-26 20:09:28 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan@lightbend.com> | 2016-08-11 10:59:14 -0700 |
commit | fcfe7050a50d2c71094a9ac212330be87c4d0781 (patch) | |
tree | 03a5d5a979665ec9ddab3fcc29a4697996f84925 /test/files/neg | |
parent | 8fa63b7538e169a4b72b95d9dd8fa7a8939279d9 (diff) | |
download | scala-fcfe7050a50d2c71094a9ac212330be87c4d0781.tar.gz scala-fcfe7050a50d2c71094a9ac212330be87c4d0781.tar.bz2 scala-fcfe7050a50d2c71094a9ac212330be87c4d0781.zip |
Fields phase synthesizes modules
For now, keep the info transform in refchecks.
Ultimately, refchecks should only check, not transform trees/infos.
Fixes https://github.com/scala/scala-dev/issues/126:
the accessor for a module in a trait is correctly marked non-final
(it's deferred).
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t0764.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t0764.check b/test/files/neg/t0764.check index 0c7cff1e1e..830278e715 100644 --- a/test/files/neg/t0764.check +++ b/test/files/neg/t0764.check @@ -1,5 +1,5 @@ t0764.scala:13: error: type mismatch; - found : Node{type T = _1.type} where val _1: Node{type T = NextType} + found : Node{type T = _2.type} where val _2: Node{type T = NextType} required: Node{type T = Main.this.AType} (which expands to) Node{type T = Node{type T = NextType}} new Main[AType]( (value: AType).prepend ) |