The Scala 3 compiler, also known as Dotty.
This report summarizes scanner evidence for scala/scala3, a Scala project with 6,330 GitHub stars. SynthScan examined 1,013,147 lines of code across 20849 source files, recording 825 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 1.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 660 finding(s).
Are imports declared and package/API names verified? 91 finding(s).
Are wrappers, guards, and repeated structures necessary? 217 finding(s).
Which changes need focused human review? 825 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 825 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | scaladoc/test/dotty/tools/scaladoc/BaseHtmlTest.scala | 86 | val doc = org.jsoup.Jsoup.parse(dotty.tools.scaladoc.util.IO.read(path)) | CODE |
| CRITICAL | scaladoc/test/dotty/tools/scaladoc/BaseHtmlTest.scala | 88 | finally dotty.tools.scaladoc.util.IO.delete(dest) | CODE |
| CRITICAL | …otty/tools/scaladoc/snippets/SnippetCompilerTest.scala | 19 | dotty.tools.dotc.util.SourceFile.virtual("test", str) | CODE |
| CRITICAL | scaladoc/resources/dotty_res/scripts/ux.js | 144 | brief.parentElement.parentElement.parentElement.parentElement.classList.add( | CODE |
| CRITICAL | tests/pos/t6084.scala | 15 | // at scala.tools.nsc.ast.TreeGen.mkCast(TreeGen.scala:252) | COMMENT |
| CRITICAL | tests/pos/i1044.scala | 5 | x.getClass.getMethods.head.getParameterTypes.mkString(",") | CODE |
| CRITICAL | …s/disabled/scalac-dependent/pos/trait-force-info.scala | 16 | // at scala.tools.nsc.symtab.classfile.ClassfileParser.classNameToSymbol(ClassfileParser.scala:489) | COMMENT |
| CRITICAL | tests/disabled/reflect/run/mixin-signatures.scala | 83 | // scala.tools.nsc.symtab.Flags.flagsToString(flags) | COMMENT |
| CRITICAL | tests/disabled/reflect/run/reflection-implicit.scala | 12 | val decls = typeOf[C].typeSymbol.info.decls.sorted.toList.filter(sym => !sym.isTerm || (sym.isMethod && !sym.asMethod. | CODE |
| CRITICAL | tests/run/t4415.scala | 6 | * at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)] | COMMENT |
| CRITICAL | tests/generic-java-signatures/mixin-signatures.scala | 83 | // scala.tools.nsc.symtab.Flags.flagsToString(flags) | COMMENT |
| CRITICAL | repl/test/dotty/tools/repl/ReplTest.scala | 119 | val diff = dotty.tools.dotc.util.DiffUtil.mkColoredHorizontalLineDiff(actualOutput.mkString(EOL), expectedOutput | CODE |
| CRITICAL | repl/src/pprint/StringPrefix.scala | 6 | scala.collection.internal.pprint.CollectionName.get(i) | CODE |
| CRITICAL | repl/src/dotty/tools/repl/Rendering.scala | 281 | val objectName = sym.owner.fullName.encode.toString.stripSuffix("$") | CODE |
| CRITICAL | repl/src/dotty/tools/repl/Rendering.scala | 333 | val prefixLength = prefix.plainText.linesIterator.toSeq.lastOption.getOrElse("").length | CODE |
| CRITICAL | library/src/scala/collection/BitSet.scala | 145 | val st = scala.collection.convert.impl.BitSetStepper.from(this) | CODE |
| CRITICAL | library/src/scala/collection/concurrent/TrieMap.scala | 575 | java.util.concurrent.ThreadLocalRandom.current.nextInt(0, array.length) | CODE |
| CRITICAL | docs/_docs/contributing/debugging/other-debugging.md | 108 | dotty.tools.dotc.reporting.Reporting.error(Reporter.scala:139) | CODE |
| CRITICAL | docs/_docs/contributing/debugging/other-debugging.md | 112 | dotty.tools.dotc.typer.Namer.createSymbol(Namer.scala:353) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 239 | at dotty.tools.dotc.typer.Namer.expand(Namer.scala:441) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 244 | at dotty.tools.dotc.typer.Namer.index(Namer.scala:722) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 246 | at dotty.tools.dotc.typer.Namer.indexExpanded(Namer.scala:501) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 247 | at dotty.tools.dotc.typer.Namer.index(Namer.scala:474) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 250 | at dotty.tools.dotc.typer.FrontEnd.monitor(FrontEnd.scala:41) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 251 | at dotty.tools.dotc.typer.FrontEnd.enterSyms(FrontEnd.scala:71) | CODE |
| CRITICAL⚡ | docs/_docs/contributing/debugging/other-debugging.md | 252 | at dotty.tools.dotc.typer.FrontEnd.runOn(FrontEnd.scala:100) | CODE |
| CRITICAL⚡ | docs/_docs/internals/debug-macros.md | 45 | [error] at dotty.tools.dotc.core.tasty.TreePickler.pickle(TreePickler.scala:699) | CODE |
| CRITICAL⚡ | docs/_docs/internals/debug-macros.md | 54 | [error] at dotty.tools.dotc.transform.Pickler.run(Pickler.scala:83) | CODE |
| CRITICAL⚡ | docs/_docs/internals/debug-macros.md | 58 | [error] at dotty.tools.dotc.transform.Pickler.runOn(Pickler.scala:87) | CODE |
| CRITICAL | project/scripts/checkErrorCodeSnippets.scala | 653 | val sourceFile = dotty.tools.dotc.util.SourceFile.virtual("snippet.scala", code) | CODE |
| CRITICAL | …-compiler/src/main/dotty/tools/pc/PcSymbolSearch.scala | 116 | s.owner.owner.companion.info.member(s.name).symbol, | CODE |
| CRITICAL | …mpiler/src/main/dotty/tools/pc/InferExpectedType.scala | 95 | if idx < 0 then None else app.fun.tpe.widenTermRefExpr.paramInfoss.flatten.lift(idx) | CODE |
| CRITICAL | compiler/test/dotty/tools/dotc/DeterminismTest.scala | 516 | dotty.tools.backend.jvm.TraceUtils.traceClassToString(bytes).linesIterator.toList | CODE |
| CRITICAL | …/test/dotty/tools/dotc/core/tasty/TastyToolsTest.scala | 50 | val reporter = dotty.tools.dotc.decompiler.Main.process(args, TestReporter.reporter(System.out, logLevel = ERROR)) | CODE |
| CRITICAL | compiler/test/dotty/tools/vulpix/VulpixUnitTests.scala | 88 | assertThrows[AssertionError](_.getMessage.linesIterator.toList.last.matches(expect)): | CODE |
| CRITICAL | compiler/src/scala/quoted/runtime/impl/QuotesImpl.scala | 1864 | dotc.core.Symbols.defn.ArrayType.appliedTo(typeConstructorOf(clazz.getComponentType)) | CODE |
| CRITICAL | compiler/src/dotty/tools/MainGenericCompiler.scala | 124 | dotty.tools.dotc.decompiler.Main.main(properArgs.toArray) | CODE |
| CRITICAL | compiler/src/dotty/tools/MainGenericCompiler.scala | 126 | dotty.tools.dotc.core.tasty.TastyPrinter.main(properArgs.toArray) | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/core/TypeErasure.scala | 803 | val interfaceSymbol = spec.symbol.owner.enclosingPackageClass.info.decls.lookup(specName) | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/core/Definitions.scala | 2132 | LanguageExperimentalModule.moduleClass.info.decls.toList.filter(_.isAllOf(Lazy | Module)).map(_.asTerm) | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala | 371 | packageClass.owner.info.decls.openForMutations.unlink(packageVal) | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/typer/RefChecks.scala | 203 | val others = cls.owner.linkedClass.info.decls.filter(clashes) | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/typer/Namer.scala | 1006 | denot.owner.asClass.info.parents.exists(parent => | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/typer/Typer.scala | 3170 | sym.owner.info.decls.openForMutations.unlink(sym) | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/inlines/Inlines.scala | 139 | && !(cls.symbol.asClass.ownersIterator.toList.tail.exists(p => p.isInlineTrait)) // We can skip anything tha | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/inlines/Inlines.scala | 364 | val clsOverriddenSyms = cls.symbol.info.decls.toList.flatMap(_.allOverriddenSymbols).toSet | CODE |
| CRITICAL | …otty/tools/dotc/semanticdb/SemanticSymbolBuilder.scala | 229 | decls0 ++ sym.owner.companionClass.info.decls.lookupAll(sym.name) | CODE |
| CRITICAL | …/src/dotty/tools/dotc/transform/SyntheticMembers.scala | 102 | val isEnumValue = clazz.isAnonymousClass && clazz.info.parents.head.classSymbol.is(Enum) | CODE |
| CRITICAL | …/src/dotty/tools/dotc/transform/SyntheticMembers.scala | 403 | else javaBoxedClass.companionModule.moduleClass.asClass.info.member(nme.hashCode_).suchThat(_.info.firstParamT | CODE |
| CRITICAL | …/src/dotty/tools/dotc/transform/SyntheticMembers.scala | 481 | cls.isAnonymousClass && cls.info.parents.head.typeSymbol.is(Enum) // asserted in Typer | CODE |
| CRITICAL | …ler/src/dotty/tools/dotc/transform/ExplicitOuter.scala | 303 | ctx.owner.enclosingClass.owner.enclosingClass.isContainedIn(ref.symbol.owner) | CODE |
| CRITICAL | …iler/src/dotty/tools/dotc/transform/CapturedVars.scala | 80 | ref(vble.info.classSymbol.companionModule.info.member(name).symbol) | CODE |
| CRITICAL | …piler/src/dotty/tools/dotc/transform/CheckUnused.scala | 1113 | val pars = ctor.denot.paramSymss.flatten.iterator.filter(_.isTerm) | CODE |
| CRITICAL | …rc/dotty/tools/dotc/transform/InstrumentCoverage.scala | 220 | ctx.base.coverage.nn.statements.foreach(mergedCoverage.addStatement) | CODE |
| CRITICAL | …ty/tools/dotc/transform/DesugarSpecializedTraits.scala | 70 | val inheritedParents = specialization.symbol.denot.info.parents.filterNot(_.typeSymbol == defn.ObjectClass).map(tm(_ | CODE |
| CRITICAL | compiler/src/dotty/tools/dotc/transform/Erasure.scala | 852 | val implClass = spec.symbol.enclosingPackageClass.info.decls.lookup(targetImplName) | CODE |
| CRITICAL | …piler/src/dotty/tools/dotc/transform/TreeChecker.scala | 655 | val decls = cls.classInfo.decls.toList.toSet.filter(isNonMagicalMember) | CODE |
| CRITICAL | …piler/src/dotty/tools/dotc/transform/TreeChecker.scala | 915 | |${scala.quoted.runtime.impl.QuotesImpl.showDecompiledTree(original)} | CODE |
| CRITICAL | …piler/src/dotty/tools/dotc/transform/TreeChecker.scala | 918 | |${scala.quoted.runtime.impl.QuotesImpl.showDecompiledTree(expansion)} | CODE |
| CRITICAL | …er/src/dotty/tools/dotc/transform/sjs/JSSymUtils.scala | 181 | if (sym.isTerm) sym.asTerm.name.unexpandedName.getterName.toString() | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …est-documentations/conflicts-pages/_docs/tests/Adoc.md | 1 | # Trying to override a api page! | COMMENT |
| LOW | …/dotty/tools/scaladoc/tasty/comments/wiki/Parser.scala | 241 | // | COMMENT |
| LOW | …st/scala/dotty/communitybuild/CommunityBuildTest.scala | 21 | //@Test def scalatest = projects.scalatest.run() | COMMENT |
| LOW | …ty-build/src/scala/dotty/communitybuild/projects.scala | 341 | // compiler plugin since it relies on external binaries (from the model | COMMENT |
| LOW | tests/neg-macros/higher-order-quoted-expressions.scala | 1 | // Draft of higher order expressions | COMMENT |
| LOW | tests/init/pos/i9795.scala | 1 | class A: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 1 | // Compiled with ./build/pack/bin/scalac -J-Xss4M -J-Xmx2G test/induction/inductive-implicits-bench.scala | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 181 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 201 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 221 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 241 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 261 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 281 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 301 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 321 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 341 | // // | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 361 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 381 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 401 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 421 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 441 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 461 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 481 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 501 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 521 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 541 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 561 | // // | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 581 | // Int :: | COMMENT |
| LOW | tests/bench/inductive-implicits.scala | 601 | // Int :: | COMMENT |
| LOW | tests/warn/i24034/iron.scala | 21 | // inline given [T](using mirror: RefinedTypeOps.Mirror[T], ev: Encoder[mirror.IronType]): Encoder[T] = ??? | COMMENT |
| LOW | tests/untried/neg/t3995.scala | 21 | } | COMMENT |
| LOW | tests/untried/neg/t8372.scala | 1 | class t8372 { | COMMENT |
| LOW | tests/untried/neg/predef-masking.scala | 1 | // Testing predef masking | COMMENT |
| LOW | tests/untried/neg/tcpoly_ticket2101.scala | 1 | class T[A[Y] <: T[A, B], B] | COMMENT |
| LOW | tests/untried/neg/tcpoly_ticket2101.scala | 21 | // case (PolyType(tparams1, res1), PolyType(tparams2, res2)) => println("<:<PT: "+((tparams1, res1), (tparams2, res2))) | COMMENT |
| LOW | tests/untried/neg/t6771b.scala | 1 | // Currently, the pattern matcher widens the type of the | COMMENT |
| LOW | tests/untried/neg/t0764b.scala | 1 | // see neg/t0764 why this should probably be a pos/ test -- alas something's wrong with existential subtyping (?) | COMMENT |
| LOW | tests/untried/neg/t5340.scala | 21 | // ../test/pending/run/t5310.scala:17: error: type mismatch; | COMMENT |
| LOW | tests/neg/12050.scala | 1 | class P[X, Y] | COMMENT |
| LOW | tests/neg/12050.scala | 21 | // normalizing P[String, Int] match ... | COMMENT |
| LOW | tests/neg/mixin-forwarder-clash1.scala | 21 | // | ^ | COMMENT |
| LOW | tests/neg/i12169.scala | 21 | // Required: Option[Var.Expanded[TT, B]] | COMMENT |
| LOW | tests/neg/yimports-nosuch.scala | 1 | //> using options -Yimports:skala,scala.Predeff | COMMENT |
| LOW | tests/neg/self-type-class-derives.scala | 21 | // Higher-kinded ADT type parameters have no counterpart to unify against | COMMENT |
| LOW | tests/neg/i25702.scala | 1 | // https://github.com/scala/scala3/issues/25702 | COMMENT |
| LOW | tests/neg/8702.scala | 1 | // All three All type positions in a match type (scrutinee, patterns, bodies) | COMMENT |
| LOW | tests/neg/8702.scala | 21 | // X match { | COMMENT |
| LOW | tests/neg/irrefutable.scala | 1 | // This tests that A.f1 is recognized as an irrefutable pattern and A.f2_nocase is not, and therefore A.f2 solves this | COMMENT |
| LOW | tests/neg/mixin-forwarder-clash2/B_2.scala | 1 | class Bar2 extends Bar1 with Two[Foo] // error | COMMENT |
| LOW | tests/init-global/warn/Color.scala | 21 | // val Black: Player = new Player // <--- problem | COMMENT |
| LOW | tests/patmat/i12337.scala | 21 | println("inactive") | COMMENT |
| LOW | tests/pos-macros/power-macro/PowerInlined-1k_2.scala | 1 | object PowerInlined1k { | COMMENT |
| LOW | …sts/pos-macros/backwardCompat-3.1/Macro_1_c3.1.0.scala | 21 | COMMENT | |
| LOW | …sts/pos-macros/backwardCompat-3.0/Macro_1_c3.0.0.scala | 21 | COMMENT | |
| LOW | tests/run-macros/annot-add-nested-object/Test_2.scala | 1 | //> using options -experimental | COMMENT |
| LOW | tests/run-macros/annot-mod-class-data/Test_2.scala | 1 | //> using options -experimental | COMMENT |
| LOW | tests/run-macros/annot-simple-fib/Test_2.scala | 1 | //> using options -experimental | COMMENT |
| LOW | tests/run-macros/annot-add-global-object/Test_2.scala | 1 | //> using options -experimental | COMMENT |
| LOW | tests/run-macros/newClassTypeParamsDoc/Macro_1.scala | 61 | // param | COMMENT |
| LOW | tests/run-macros/annot-add-local-object/Test_2.scala | 1 | //> using options -experimental | COMMENT |
| 435 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/neg-macros/tasty-macro-assert-1/quoted_1.scala | 0 | error left did not equal right: | left = $left | right = $right | STRING |
| HIGH | tests/neg-macros/tasty-macro-assert-2/quoted_1.scala | 0 | error left did not equal right: | left = $left | right = $right | STRING |
| HIGH | tests/run-macros/tasty-macro-assert/quoted_1.scala | 0 | error left did not equal right: | left = $left | right = $right | STRING |
| HIGH | tests/neg-macros/tasty-macro-assert-1/quoted_1.scala | 0 | error left was equal to right: | left = $left | right = $right | STRING |
| HIGH | tests/neg-macros/tasty-macro-assert-2/quoted_1.scala | 0 | error left was equal to right: | left = $left | right = $right | STRING |
| HIGH | tests/run-macros/tasty-macro-assert/quoted_1.scala | 0 | error left was equal to right: | left = $left | right = $right | STRING |
| HIGH | tests/run-custom-args/captures/minicheck-toplevel.scala | 0 | type error | found : $tp | expected: $expected | for : $tree | STRING |
| HIGH | tests/run-custom-args/captures/minicheck.scala | 0 | type error | found : $tp | expected: $expected | for : $tree | STRING |
| HIGH | tests/run-custom-args/captures/minicheck-mutable.scala | 0 | type error | found : $tp | expected: $expected | for : $tree | STRING |
| HIGH | tests/run-macros/lib-StringContext/StringContext.scala | 0 | invalid escape ${ require(index >= 0 && index < str.length) val ok = s | STRING |
| HIGH | tests/pos/StringContext.scala | 0 | invalid escape ${ require(index >= 0 && index < str.length) val ok = s | STRING |
| HIGH | library/src/scala/StringContext.scala | 0 | invalid escape ${ require(index >= 0 && index < str.length) val ok = s | STRING |
| HIGH | tests/run-macros/lib-StringContext/StringContext.scala | 0 | if (index == str.length - 1) "at terminal" else s"'\\${str(index + 1)}' not one of $ok at" } index $index in "$str". use | STRING |
| HIGH | tests/pos/StringContext.scala | 0 | if (index == str.length - 1) "at terminal" else s"'\\${str(index + 1)}' not one of $ok at" } index $index in "$str". use | STRING |
| HIGH | library/src/scala/StringContext.scala | 0 | if (index == str.length - 1) "at terminal" else s"'\\${str(index + 1)}' not one of $ok at" } index $index in "$str". use | STRING |
| HIGH | …t/neg/macro-bundle-whitebox-use-refined/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | …flect/neg/macro-bundle-whitebox-use-raw/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | …ed/reflect/neg/macro-blackbox-extractor/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | …o/run/macro-bundle-whitebox-use-refined/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | …macro/run/macro-bundle-whitebox-use-raw/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | …bled/macro/run/macro-whitebox-extractor/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | tests/disabled/macro/run/t5903d/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | tests/disabled/reflect/neg/t5903e/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | tests/disabled/reflect/neg/t5903d/Macros_1.scala | 0 | class match(x: int) { def isempty = false def get = x } new { def unapply(x: int) = new match(x) }.unapply($x) | STRING |
| HIGH | repl/test/dotty/tools/repl/SaveTests.scala | 0 | |def iseven(n: int): boolean = if n == 0 then true else isodd(n - 1) |${save.entryseparator} |def isodd(n: int): boolean | STRING |
| HIGH | repl/test/dotty/tools/repl/ReplayTests.scala | 0 | |def iseven(n: int): boolean = if n == 0 then true else isodd(n - 1) |${save.entryseparator} |def isodd(n: int): boolean | STRING |
| HIGH | repl/test/dotty/tools/repl/LoadTests.scala | 0 | |def iseven(n: int): boolean = if n == 0 then true else isodd(n - 1) |${save.entryseparator} |def isodd(n: int): boolean | STRING |
| HIGH | library/src/scala/collection/SortedMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/View.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/LinearSeq.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/SortedSet.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/SeqMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/SeqView.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/MapView.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/Seq.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/IndexedSeqView.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/BitSet.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/Map.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/IndexedSeq.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/Set.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/Buffer.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/Stack.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/WeakHashMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/HashMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | …brary/src/scala/collection/mutable/LinkedHashSet.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/ListMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/ListBuffer.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | …brary/src/scala/collection/mutable/LinkedHashMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/ArrayBuffer.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/Queue.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/AnyRefMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/OpenHashMap.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | library/src/scala/collection/mutable/ArrayDeque.scala | 0 | cat=deprecation&origin=scala\.collection\.iterable\.stringprefix | STRING |
| HIGH | docs/_docs/internals/syntax.md | 0 | ’ {[‘"’] [‘"’] char \ (‘"’ | ‘\$’) | escape} {‘"’} ‘ | STRING |
| HIGH | docs/_docs/reference/syntax.md | 0 | ’ {[‘"’] [‘"’] char \ (‘"’ | ‘\$’) | escape} {‘"’} ‘ | STRING |
| HIGH | docs/_spec/13-syntax-summary.md | 0 | ’ {[‘"’] [‘"’] char \ (‘"’ | ‘\$’) | escape} {‘"’} ‘ | STRING |
| HIGH | …t/dotty/tools/pc/tests/DiagnosticSourcepathSuite.scala | 0 | |package pkg1 | |class alpha: | def greetalpha: string = "" | val countalpha: int = 0 | | STRING |
| HIGH | …tty/tools/pc/tests/completion/CompletionMbtSuite.scala | 0 | |package pkg1 | |class alpha: | def greetalpha: string = "" | val countalpha: int = 0 | | STRING |
| HIGH | …ls/pc/tests/completion/CompletionSourcepathSuite.scala | 0 | |package pkg1 | |class alpha: | def greetalpha: string = "" | val countalpha: int = 0 | | STRING |
| HIGH | …r/test/dotty/tools/pc/tests/hover/HoverTermSuite.scala | 0 | |def hello = (path = ".", num = 5) | |def test = | hello ++ (line = 1) | |@main def bla = | val x: (path: string, num: i | STRING |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …urces/dotty_res/scripts/components/DocumentableList.js | 165 | function areFiltersFromElementSelected() { | CODE |
| LOW | …/scala/collection/immutable/LazyListIterableBase.scala | 39 | @inline def getAndSet(ll: LazyListIterableBase[?]^, value: (AnyRef | Null)^{ll}): (AnyRef | Null)^{ll} = { | CODE |
| LOW | …y-js/src/scala/collection/immutable/LazyListBase.scala | 36 | @inline def getAndSet(ll: LazyListBase[?], value: AnyRef | Null): AnyRef | Null = { | CODE |
| LOW | tests/neg/i21239.orig.scala | 29 | inline def getOrSet(v: => V): V = worm.wormAsAtomic.get() match | CODE |
| LOW | tests/run-macros/gestalt-optional-staging/Test_2.scala | 18 | def getOrElseTest(): Unit = { | CODE |
| LOW | tests/run-macros/gestalt-optional-staging/Macro_1.scala | 10 | inline def getOrElse[B >: A](alt: => B): B = ${ Optional.getOrElseImpl('this, 'alt) } | CODE |
| LOW | tests/run-macros/gestalt-optional-staging/Macro_1.scala | 20 | /*private*/ def getOrElseImpl[T >: Null : Type](opt: Expr[Optional[T]], alt: Expr[T])(using Quotes): Expr[T] = '{ | COMMENT |
| LOW | tests/pos/i21239.orig.scala | 28 | inline def getOrSet(v: => V): V = | CODE |
| LOW | tests/pos/opaque-nullable.scala | 16 | def getOrElse(a: => A): A = | CODE |
| LOW | tests/pos/scalaz-redux.scala | 15 | def getOrElse[AA >: A](default: => AA): AA = | CODE |
| LOW | tests/pos/16727/A_1.scala | 3 | def getOrElse[V](default: V): V = ??? | CODE |
| LOW | tests/disabled/reflect/run/t6546/A_1.scala | 2 | @inline def getOrElse(x: => String): String = "" | CODE |
| LOW | …un/macro-typecheck-macrosdisabled/Impls_Macros_1.scala | 15 | def impl_with_macros_disabled(c: Context) = { | CODE |
| LOW | …n/macro-typecheck-macrosdisabled2/Impls_Macros_1.scala | 15 | def impl_with_macros_disabled(c: Context) = { | CODE |
| LOW | …macro-typecheck-implicitsdisabled/Impls_Macros_1.scala | 4 | def impl_with_implicits_enabled(c: Context) = { | CODE |
| LOW | …macro-typecheck-implicitsdisabled/Impls_Macros_1.scala | 14 | def impl_with_implicits_disabled(c: Context) = { | CODE |
| LOW | tests/run/interleaving.scala | 5 | def getOrElse(k: Key)[V >: k.Value](default: V): V // dependent type parameter | CODE |
| LOW | tests/run/interleaving.scala | 13 | def getOrElse(k: Key)[V >: k.Value](default: V): V = if k == key1 then Some(4).asInstanceOf[k.Value] else default | CODE |
| LOW | tests/run/gestalt-optional-inline/Test_2.scala | 18 | def getOrElseTest(): Unit = { | CODE |
| LOW | tests/run/gestalt-optional-inline/Macro_1.scala | 8 | inline def getOrElse[B >: A](alt: => B): B = | CODE |
| LOW | library/test/scala/collection/IteratorTest.scala | 851 | def getOrBail: C = seq1.get match { | CODE |
| LOW | library/test/scala/collection/mutable/HashMapTest.scala | 10 | def getOrElseUpdate_mutationInCallback(): Unit = { | CODE |
| LOW⚡ | library/test/scala/collection/mutable/HashMapTest.scala | 22 | def getOrElseUpdate_evalOnce(): Unit = { | CODE |
| LOW⚡ | library/test/scala/collection/mutable/HashMapTest.scala | 30 | def getOrElseUpdate_noEval(): Unit = { | CODE |
| LOW⚡ | library/test/scala/collection/mutable/HashMapTest.scala | 36 | def getOrElseUpdate_keyIdempotence(): Unit = { | CODE |
| LOW | …ala/collection/mutable/CollisionProofHashMapTest.scala | 10 | def getOrElseUpdate_mutationInCallback(): Unit = { | CODE |
| LOW⚡ | …ala/collection/mutable/CollisionProofHashMapTest.scala | 22 | def getOrElseUpdate_evalOnce(): Unit = { | CODE |
| LOW⚡ | …ala/collection/mutable/CollisionProofHashMapTest.scala | 30 | def getOrElseUpdate_noEval(): Unit = { | CODE |
| LOW⚡ | …ala/collection/mutable/CollisionProofHashMapTest.scala | 36 | def getOrElseUpdate_keyIdempotence(): Unit = { | CODE |
| LOW | …brary/test/scala/collection/immutable/StreamTest.scala | 107 | def filter_map_properly_lazy_in_tail(): Unit = { | CODE |
| LOW | library/test/scala/util/TryTest.scala | 45 | @Test def getOrElse(): Unit = { | CODE |
| LOW | library/src/scala/Option.scala | 232 | @inline final def getOrElse[B >: A](default: => B): B = | CODE |
| LOW | library/src/scala/collection/Map.scala | 179 | def getOrElse[V1 >: V](key: K, default: => V1): V1 = get(key) match { | CODE |
| LOW | library/src/scala/collection/mutable/LongMap.scala | 172 | override def getOrElse[V1 >: V](key: Long, default: => V1): V1 = { | CODE |
| LOW | library/src/scala/collection/mutable/LongMap.scala | 184 | override def getOrElseUpdate(key: Long, defaultValue: => V): V = { | CODE |
| LOW | library/src/scala/collection/mutable/LongMap.scala | 238 | def getOrNull(key: Long): V | Null = { | CODE |
| LOW | library/src/scala/collection/mutable/HashMap.scala | 463 | override def getOrElse[V1 >: V](key: K, default: => V1): V1 = { | CODE |
| LOW | library/src/scala/collection/mutable/HashMap.scala | 474 | override def getOrElseUpdate(key: K, defaultValue: => V): V = { | CODE |
| LOW | …brary/src/scala/collection/mutable/LinkedHashMap.scala | 122 | override def getOrElse[V1 >: V](key: K, default: => V1): V1 = { | CODE |
| LOW | …brary/src/scala/collection/mutable/LinkedHashMap.scala | 133 | override def getOrElseUpdate(key: K, defaultValue: => V): V = { | CODE |
| LOW | …c/scala/collection/mutable/CollisionProofHashMap.scala | 101 | override def getOrElse[V1 >: V](key: K, default: => V1): V1 = { | CODE |
| LOW | …c/scala/collection/mutable/CollisionProofHashMap.scala | 400 | override def getOrElseUpdate(key: K, defaultValue: => V): V = { | CODE |
| LOW | library/src/scala/collection/mutable/AnyRefMap.scala | 167 | override def getOrElse[V1 >: V](key: K, default: => V1): V1 = { | CODE |
| LOW | library/src/scala/collection/mutable/AnyRefMap.scala | 172 | override def getOrElseUpdate(key: K, defaultValue: => V): V = { | CODE |
| LOW | library/src/scala/collection/mutable/AnyRefMap.scala | 214 | def getOrNull(key: K): V | Null = { | CODE |
| LOW | library/src/scala/collection/mutable/Map.scala | 156 | def getOrElseUpdate(key: K, @deprecatedName("op", since="2.13.13") defaultValue: => V): V = | CODE |
| LOW | library/src/scala/collection/immutable/LongMap.scala | 298 | final override def getOrElse[S >: T](key: Long, default: => S): S = this match { | CODE |
| LOW | …/scala/collection/immutable/LazyListIterableBase.scala | 48 | def getAndSet(ll: LazyListIterableBase[?]^, value: (AnyRef | Null)^{ll}): (AnyRef | Null)^{ll} = | CODE |
| LOW | library/src/scala/collection/immutable/SeqMap.scala | 73 | override def getOrElse [V1](key: Any, default: => V1): V1 = default | CODE |
| LOW | library/src/scala/collection/immutable/SeqMap.scala | 87 | override def getOrElse [V1 >: V](key: K, default: => V1): V1 = | CODE |
| LOW | library/src/scala/collection/immutable/SeqMap.scala | 116 | override def getOrElse [V1 >: V](key: K, default: => V1): V1 = | CODE |
| LOW | library/src/scala/collection/immutable/SeqMap.scala | 153 | override def getOrElse [V1 >: V](key: K, default: => V1): V1 = | CODE |
| LOW | library/src/scala/collection/immutable/SeqMap.scala | 196 | override def getOrElse [V1 >: V](key: K, default: => V1): V1 = | CODE |
| LOW | library/src/scala/collection/immutable/HashMap.scala | 145 | override def getOrElse[V1 >: V](key: K, default: => V1): V1 = { | CODE |
| LOW | library/src/scala/collection/immutable/HashMap.scala | 559 | def getOrElse[V1 >: V](key: K, originalHash: Int, hash: Int, shift: Int, f: => V1): V1 | CODE |
| LOW | library/src/scala/collection/immutable/HashMap.scala | 737 | def getOrElse[V1 >: V](key: K, originalHash: Int, keyHash: Int, shift: Int, f: => V1): V1 = { | CODE |
| LOW | library/src/scala/collection/immutable/HashMap.scala | 1921 | def getOrElse[V1 >: V](key: K, originalHash: Int, hash: Int, shift: Int, f: => V1): V1 = { | CODE |
| LOW | library/src/scala/collection/immutable/HashMap.scala | 2280 | private[immutable] def getOrElse[V0 >: V](key: K, value: V0): V0 = | CODE |
| LOW | …rary/src/scala/collection/immutable/LazyListBase.scala | 43 | def getAndSet(ll: LazyListBase[?], value: AnyRef | Null): AnyRef | Null = u.getAndSet(ll, value) | CODE |
| LOW | library/src/scala/collection/immutable/IntMap.scala | 304 | final override def getOrElse[S >: T](key: Int, default: => S): S = this match { | CODE |
| 83 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scaladoc-js/common/src/utils/html.scala | 107 | val placeholder = Attr("placeholder") | CODE |
| LOW | scaladoc/src/dotty/tools/scaladoc/util/html.scala | 102 | val placeholder = Attr("placeholder") | CODE |
| LOW | tests/pos-macros/semanticdb-macro-pos/example_2.scala | 9 | Lorem ipsum dolor sit amet consectetur adipiscing elit tincidunt id augue, facilisi dignissim nibh litora lectus qua | CODE |
| LOW | tests/pos-macros/semanticdb-macro-pos/example_2.scala | 9 | Lorem ipsum dolor sit amet consectetur adipiscing elit tincidunt id augue, facilisi dignissim nibh litora lectus qua | CODE |
| LOW⚡ | tests/run-macros/i17905/Test_2.scala | 2 | println("case 1: " + testCtxParam { given String = "given"; def f(using t: String) = "placeholder"; f + " outside" }) | CODE |
| LOW⚡ | tests/run-macros/i17905/Test_2.scala | 4 | println("case 2: " + testCtxParam { def f(using t: String) = "placeholder"; f + " outside" }) | CODE |
| LOW⚡ | tests/run-macros/i17905/Test_2.scala | 6 | println("case 3: " + testCtxParam { given i: String = "given"; def a(x: String) = "placeholder"; a(i) + " outside" } ) | CODE |
| LOW | tests/run-macros/i17905/Macro_1.scala | 6 | case '{ given i: String = "given"; def g(using s: String) = "placeholder"; $a(g, i): String } => | CODE |
| LOW | tests/run-macros/i17905/Macro_1.scala | 8 | case '{ def g(using s: String) = "placeholder"; $a(g): String } => | CODE |
| LOW | tests/run-macros/i17105/Macro_2.scala | 7 | case '{ def g(y: String) = "placeholder" + y; $a(g): String } => | CODE |
| LOW | tests/run-macros/i17105/Macro_2.scala | 9 | case '{ def g(y: String)(z: String) = "placeholder" + y; $a(g): String } => | CODE |
| LOW⚡ | tests/run-macros/i17105/Test_3.scala | 8 | println("case single: " + testExpr { def f(x: String) = "placeholder" + x; f("arg1") + " outside" }) | CODE |
| LOW⚡ | tests/run-macros/i17105/Test_3.scala | 9 | println("case no-param-method (will be eta-expanded): " + testExpr { def f(x: String) = "placeholder" + x; (() => f)() | CODE |
| LOW⚡ | tests/run-macros/i17105/Test_3.scala | 10 | println("case curried: " + testExpr { def f(x: String)(y: String) = "placeholder" + x; f("arg1")("arg2") + " outside" | CODE |
| LOW⚡ | tests/run-macros/i17105/Test_3.scala | 12 | println("case methods from outer scope: " + testExpr { def f(x: String) = "placeholder" + x; f("arg1") + outer() }) | CODE |
| LOW | tests/run-macros/i17105b/Test_2.scala | 4 | println("case erased: " + testExpr { def erasedfn1(erased x: String) = "placeholder"; erasedfn1("arg1")}) | CODE |
| LOW | tests/run-macros/i17105b/Macro_1.scala | 9 | case '{ def erasedfn(y: String) = "placeholder"; $a(erasedfn): String } => | CODE |
| LOW | tests/run-macros/i17105b/Macro_1.scala | 11 | case '{ def erasedfn(erased y: String) = "placeholder"; $a(erasedfn): String } => | CODE |
| LOW | tests/semanticdb/expect/inlinedefs.expect.scala | 6 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit, | COMMENT |
| LOW | tests/semanticdb/expect/inlinedefs.expect.scala | 6 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit, | COMMENT |
| LOW | tests/semanticdb/expect/inlinedefs.scala | 6 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit, | COMMENT |
| LOW | tests/semanticdb/expect/inlinedefs.scala | 6 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit, | COMMENT |
| LOW | tests/run/config.scala | 32 | println(readPerson(using Config("John Doe", 20))) | CODE |
| LOW | tests/run/config.scala | 85 | val config1 = Config("John Doe", 20) | CODE |
| LOW | tests/run/config.scala | 112 | val config1 = Config("John Doe", 20) | CODE |
| LOW⚡ | …ladoc-testcases/src/example/level2/Documentation.scala | 137 | /** Lorem ipsum | COMMENT |
| LOW⚡ | …ladoc-testcases/src/example/level2/Documentation.scala | 141 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur scelerisque facilisis sapien a lobortis. Fusce | COMMENT |
| LOW⚡ | …ladoc-testcases/src/example/level2/Documentation.scala | 141 | * Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur scelerisque facilisis sapien a lobortis. Fusce | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sbt-bridge/test/xsbt/IncrementalCompileSimulator.scala | 49 | // ── private ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 18 | // ── case class: field type change (issue #26231) ───────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 18 | // ── case class: field type change (issue #26231) ───────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 33 | // ── case class: field added ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 48 | // ── unapplySeq added beside unapply ────────────────────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 70 | // ── unapply added beside unapplySeq ────────────────────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 92 | // ── custom product extractor (_1/_2 protocol) ──────────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 153 | // ── case class loses its case modifier ─────────────────────────────────── | COMMENT |
| MEDIUM | …st/xsbt/IncrementalCompileSimulatorSpecification.scala | 178 | // ── sanity: identical upstream must NOT invalidate ──────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/pos/capture.scala | 17 | // skolemization-of-each-param is more robust since it is stable under widening. | COMMENT |
| MEDIUM | compiler/src/dotty/tools/dotc/core/StdNames.scala | 170 | // some types whose companions we utilize | COMMENT |
| MEDIUM | …/dotty/tools/dotc/core/classfile/ClassfileParser.scala | 907 | // We want to be robust when annotations are unavailable, so the very least | COMMENT |
| MEDIUM | compiler/src/dotty/tools/dotc/typer/Applications.scala | 500 | // [X'] of the variable as its definition tree, which is more robust. But then | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/dotty/tools/pc/completions/MatchCaseCompletions.scala | 169 | // Step 1: walk through scope members. | COMMENT |
| LOW | …/dotty/tools/pc/completions/MatchCaseCompletions.scala | 182 | // Step 2: walk through known subclasses of sealed types. | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/Phases.scala | 434 | // Test that we are in a state where we need to check if the phase should be skipped for a java file, | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 305 | // Step 1: Get RecTypes and ErrorTypes and CapturingTypes out of the way, | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 325 | // Step 2: Try to widen either side. This is tricky and incomplete. | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 389 | // Step 3: Intersect base classes of both sides | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/run/stream-stack-overflow-filter-map.scala | 35 | //Complete test case for withFilter + map/flatMap, as requested by @axel22. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/dotty/tools/pc/completions/MatchCaseCompletions.scala | 169 | // Step 1: walk through scope members. | COMMENT |
| LOW | …/dotty/tools/pc/completions/MatchCaseCompletions.scala | 182 | // Step 2: walk through known subclasses of sealed types. | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 305 | // Step 1: Get RecTypes and ErrorTypes and CapturingTypes out of the way, | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 325 | // Step 2: Try to widen either side. This is tricky and incomplete. | COMMENT |
| LOW | compiler/src/dotty/tools/dotc/core/TypeOps.scala | 389 | // Step 3: Intersect base classes of both sides | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/run/Course-2002-06.scala | 249 | // Don't forget to close the canvas! | COMMENT |
| MEDIUM | library/src/scala/util/control/NonFatal.scala | 35 | * // dangerous stuff goes here, we throw an exception for demonstration purposes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | library/src/scala/concurrent/ExecutionContext.scala | 148 | * ### How to use | COMMENT |
| LOW | project/scripts/is-version-published.sh | 5 | # Usage: | COMMENT |
| LOW | project/scripts/validateScaladocLinks.sh | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/ci.yaml | 225 | # Create the GitHub release | COMMENT |