diff options
author | Martin Odersky <odersky@gmail.com> | 2015-06-01 21:26:16 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-01 21:26:16 +0200 |
commit | 0a0d3dd1a79cb211e5caf93f37b7ef6f484508b2 (patch) | |
tree | 7360419f47f03d4b582748872dd80e1deb84d3bd /tests/run/t1044.scala | |
parent | 5aaa40607f65d0f3c1af121df226d715c0d02673 (diff) | |
download | dotty-0a0d3dd1a79cb211e5caf93f37b7ef6f484508b2.tar.gz dotty-0a0d3dd1a79cb211e5caf93f37b7ef6f484508b2.tar.bz2 dotty-0a0d3dd1a79cb211e5caf93f37b7ef6f484508b2.zip |
More precise and uniform modelling of "isCurrent"
For implemented getters and forwarded methods we need a notion of "isCurrent",
which means: would the getter or method before the implementation is added be
a member of the implementing class? Only in this case do we need to do anything.
The method formulation was previously weaker than the getter formulation, which
led to an error when compiling core (duplicate methods: andThen and size).
Diffstat (limited to 'tests/run/t1044.scala')
0 files changed, 0 insertions, 0 deletions