Skip to content

Commit 2cca2ac

Browse files
committed
moved fir fo scala#11331 into separate pull request (scala#11400)
1 parent 6c1ca90 commit 2cca2ac

File tree

4 files changed

+1
-31
lines changed

4 files changed

+1
-31
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2207,9 +2207,7 @@ object SymDenotations {
22072207
if !myCompanion.exists then
22082208
ensureCompleted()
22092209
myCompanion
2210-
2211-
override def registeredCompanion_=(c: Symbol) =
2212-
myCompanion = c
2210+
override def registeredCompanion_=(c: Symbol) = { myCompanion = c }
22132211

22142212
private var myNestingLevel = -1
22152213

@@ -2459,7 +2457,6 @@ object SymDenotations {
24592457
!owner.isClass
24602458
|| owner.isRefinementClass
24612459
|| owner.is(Scala2x)
2462-
|| denot.is(Synthetic)
24632460
|| owner.unforcedDecls.contains(denot.name, denot.symbol)
24642461
|| denot.isSelfSym
24652462
|| denot.isLocalDummy)

compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class BootstrappedOnlyCompilationTests {
2929
compileFilesInDir("tests/pos-custom-args/semanticdb", defaultOptions.and("-Xsemanticdb")),
3030
compileDir("tests/pos-special/i7592", defaultOptions.and("-Yretain-trees")),
3131
compileDir("tests/pos-special/i11251", defaultOptions.and("-Ycheck:macros")),
32-
compileDir("tests/pos-special/i11331", defaultOptions),
3332
).checkCompile()
3433
}
3534

tests/pos-special/i11331/Macro_1.scala

Lines changed: 0 additions & 16 deletions
This file was deleted.

tests/pos-special/i11331/Test_2.scala

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)