Skip to content

Commit

Permalink
Replace Flags.Stable by Flags.StableRealizable in semanticdbconsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
poechsel committed Feb 5, 2019
1 parent 9f708d8 commit 4abf222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semanticdb/src/dotty/semanticdb/SemanticdbConsumer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class SemanticdbConsumer(sourceFilePath: java.nio.file.Path) extends TastyConsum

def isValMethod(implicit ctx: Context): Boolean = {
symbol.isMethod && {
(symbol.flags.is(Flags.FieldAccessor) && symbol.flags.is(Flags.Stable) ) ||
(symbol.flags.is(Flags.FieldAccessor) && symbol.flags.is(Flags.StableRealizable) ) ||
(symbol.isUsefulField && !symbol.flags.is(Flags.Mutable) )
}
}
Expand Down

0 comments on commit 4abf222

Please sign in to comment.