Skip to content

Commit fe3062c

Browse files
Update compiler/src/dotty/tools/dotc/core/Symbols.scala
1 parent dfbedbe commit fe3062c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Symbols.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ object Symbols {
751751

752752
/** The source or class file from which this class was generated, null if not applicable. */
753753
override def associatedFile(implicit ctx: Context): AbstractFile =
754-
if (assocFile != null || (this.owner.is(PackageClass)) || this.isEffectiveRoot) assocFile
754+
if (assocFile != null || this.owner.is(PackageClass) || this.isEffectiveRoot) assocFile
755755
else super.associatedFile
756756

757757
private[this] var mySource: SourceFile = NoSource

0 commit comments

Comments
 (0)