Skip to content
Browse files

Call method rather than duplicating method.

  • Loading branch information...
1 parent 0012939 commit 8c77915988761f1ea8b0e027c637aa630e42845f @paulp paulp committed Apr 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compiler/scala/tools/nsc/transform/Mixin.scala
View
2 src/compiler/scala/tools/nsc/transform/Mixin.scala
@@ -1037,7 +1037,7 @@ abstract class Mixin extends InfoTransform with ast.TreeDSL {
else if (!clazz.isTrait) {
// This needs to be a def to avoid sharing trees
def accessedRef = accessedReference(sym)
- if (sym.hasAccessorFlag && (!sym.isDeferred || sym.hasFlag(lateDEFERRED))) {
+ if (isConcreteAccessor(sym)) {
// add accessor definitions
addDefDef(sym, {
if (sym.isSetter) {

0 comments on commit 8c77915

Please sign in to comment.
Something went wrong with that request. Please try again.