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 8cb4945 commit cb5433cCopy full SHA for cb5433c
compiler/src/dotty/tools/dotc/transform/init/Semantic.scala
@@ -1140,7 +1140,7 @@ object Semantic:
1140
*/
1141
def checkClasses(classes: List[ClassSymbol])(using Context): Unit =
1142
given Cache.Data()
1143
- for classSym <- classes if isConcreteClass(classSym) do
+ for classSym <- classes if isConcreteClass(classSym) && !classSym.isStaticObject do
1144
checkClass(classSym)
1145
1146
// ----- Semantic definition --------------------------------
0 commit comments