8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 115e880 commit ec2283eCopy full SHA for ec2283e
src/compiler/scala/tools/nsc/transform/Fields.scala
@@ -91,7 +91,7 @@ abstract class Fields extends InfoTransform with ast.TreeDSL with TypingTransfor
91
// NOTE: this only considers type, filter on flags first!
92
def fieldMemoizationIn(accessorOrField: Symbol, site: Symbol) = new FieldMemoization(accessorOrField, site)
93
94
- override def transformInfo(sym: Symbol, tp: Type): Type = synthFieldsAndAccessors(tp)
+ override def transformInfo(sym: Symbol, tp: Type): Type = if (!sym.isJavaDefined) synthFieldsAndAccessors(tp) else tp
95
96
private def newTraitSetter(getter: Symbol, clazz: Symbol) = {
97
// Add setter for an immutable, memoizing getter
0 commit comments