Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created March 26, 2022 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuwei-k/52838ed0546cedf9dc1a1ae3d13816a5 to your computer and use it in GitHub Desktop.
Save xuwei-k/52838ed0546cedf9dc1a1ae3d13816a5 to your computer and use it in GitHub Desktop.
wartremover SizeIs scala3-compiler.jar 3.1.3-RC1-bin-20220325-6f3fe05-NIGHTLY
[error] -- Warning: library/src/scala/runtime/stdLibPatches/Predef.scala:7:8 -----------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: library/src/scala/runtime/stdLibPatches/Predef.scala:10:8 ----------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/scala/quoted/runtime/impl/QuoteMatcher.scala:328:46 ---
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: out/bootstrap/scala3-compiler-bootstrapped/scala-3.1.3-RC1-bin-20220325-6f3fe05-NIGHTLY-nonbootstrapped/src_managed/main/scalajs-ir-src/org/scalajs/ir/Trees.scala:454:32
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/MainGenericRunner.scala:114:42 ------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/Run.scala:132:11 ---------------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/util/LinearSet.scala:24:11 -----------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/util/LinearMap.scala:28:11 -----------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1192:48 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1369:45 ------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1379:12 ------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1415:10 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1428:7 -------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1433:12 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1433:39 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Typer.scala:1567:10 ------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/RefChecks.scala:56:12 ----------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/RefChecks.scala:59:60 ----------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/RefChecks.scala:536:12 ---------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/RefChecks.scala:617:12 ---------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/RefChecks.scala:638:29 ---------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/RefChecks.scala:655:16 ---------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala:415:9 ---------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala:617:24 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Namer.scala:1184:11 ------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Namer.scala:1617:57 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Namer.scala:1623:57 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Namer.scala:1658:12 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Inliner.scala:156:14 -----------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Inliner.scala:830:8 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Inliner.scala:1259:35 ----------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Inliner.scala:1434:37 ----------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Inliner.scala:1457:18 ----------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/EtaExpansion.scala:234:31 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala:202:13 ----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:140:8 -------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:142:10 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:410:6 -------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:1098:16 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:1161:8 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:1330:29 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:1884:13 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:2000:33 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:2022:9 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/typer/Applications.scala:2111:57 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/TypeTestsCasts.scala:275:12
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/TreeChecker.scala:116:10 ---
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/SyntheticMembers.scala:223:49
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/SpecializeFunctions.scala:30:10
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala:289:16
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala:337:54
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/FunctionXXLForwarders.scala:50:11
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/Erasure.scala:221:7 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/Erasure.scala:915:38 -------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/sjs/PrepJSInterop.scala:1110:11
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/sjs/PrepJSInterop.scala:1110:29
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/sjs/PrepJSInterop.scala:1121:26
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/sjs/PrepJSExports.scala:203:29
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/sjs/PrepJSExports.scala:337:33
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/sjs/PrepJSExports.scala:341:10
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/transform/localopt/StringInterpolatorOpt.scala:54:11
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/semanticdb/TypeOps.scala:325:52 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/semanticdb/TypeOps.scala:342:76 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/reporting/messages.scala:1434:12 -----
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/reporting/messages.scala:1399:26 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala:147:13 -
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala:186:8 --
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala:529:41 -
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala:531:47 -
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala:602:20 -
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/parsing/Scanners.scala:198:10 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/parsing/Parsers.scala:2542:44 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/parsing/Parsers.scala:3635:28 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala:764:10 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/interactive/Completion.scala:268:30 --
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Types.scala:1350:17 -------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Types.scala:5395:12 -------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/TypeErasure.scala:248:44 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/TypeComparer.scala:1435:55 ------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/TypeComparer.scala:2409:10 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/SymDenotations.scala:2417:13 ----
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/SymDenotations.scala:2429:15 ----
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Phases.scala:89:16 --------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/MatchTypeTrace.scala:110:9 ------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/MatchTypeTrace.scala:112:19 -----
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Definitions.scala:487:112 -------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Definitions.scala:1019:12 -------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Definitions.scala:1568:4 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/core/Definitions.scala:1574:4 --------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/config/CliCommand.scala:157:20 -------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/classpath/AggregateClassPath.scala:159:8
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/ast/Desugar.scala:1122:28 ------------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/dotc/ast/Desugar.scala:1172:29 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/dotc/ast/Desugar.scala:1830:10 ------------
[error] [wartremover:SizeIs] Maybe you can use `lengthIs` instead of `length`
[error] -- Warning: compiler/src/dotty/tools/backend/sjs/JSExportsGen.scala:533:10 -----
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/backend/sjs/JSExportsGen.scala:661:13 -----
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala:2818:60 -------
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] -- Warning: compiler/src/dotty/tools/backend/jvm/BCodeSkelBuilder.scala:740:10 -
[error] [wartremover:SizeIs] Maybe you can use `sizeIs` instead of `size`
[error] 98 warnings found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment