diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/OverridingPairs.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/OverridingPairs.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala b/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala index 6aef9fc691..fcf9da53e0 100644 --- a/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala +++ b/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala @@ -103,6 +103,7 @@ abstract class OverridingPairs { var overriding: Symbol = _ var overridden: Symbol = _ + //@M: note that next is called once during object initialisation def hasNext: boolean = curEntry ne null def next: unit = @@ -131,6 +132,6 @@ abstract class OverridingPairs { } } - next + next //@M: ATTN! this method gets called during construction! } } |