Skip to content

Commit

Permalink
pos/t9111-inliner-workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanm committed Oct 11, 2015
1 parent 115e880 commit ec2283e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/scala/tools/nsc/transform/Fields.scala
Expand Up @@ -91,7 +91,7 @@ abstract class Fields extends InfoTransform with ast.TreeDSL with TypingTransfor
// NOTE: this only considers type, filter on flags first!
def fieldMemoizationIn(accessorOrField: Symbol, site: Symbol) = new FieldMemoization(accessorOrField, site)

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

private def newTraitSetter(getter: Symbol, clazz: Symbol) = {
// Add setter for an immutable, memoizing getter
Expand Down

0 comments on commit ec2283e

Please sign in to comment.