When compiling scala/scala with 2.26.0-RC1 (see https://github.com/scala/scala/pull/9136) we first get some warning about packages that are in the wrong directory and then it fails to compile calls to StringContext.s saying that it does not receive parameters.
(base) ➜ scala git:(dotty-release-0.26-RC1) sbt -Dscala.build.compileWithDotty=true library/compile
[info] welcome to sbt 1.3.12 (Oracle Corporation Java 1.8.0_181)
[info] loading settings for project global-plugins from idea.sbt ...
[info] loading global plugins from /Users/nicolasstucki/.sbt/1.0/plugins
[info] loading settings for project scala-build-build from plugins.sbt ...
[info] loading project definition from /Users/nicolasstucki/GitHub/scala/project/project
[info] loading settings for project scala-build from plugins.sbt ...
[info] loading project definition from /Users/nicolasstucki/GitHub/scala/project
[info] Compiling 1 Scala source to /Users/nicolasstucki/GitHub/scala/project/target/scala-2.12/sbt-1.0/classes ...
[info] loading settings for project root from build.sbt ...
[info] resolving key references (18722 settings) ...
[info] *** Welcome to the sbt build definition for Scala! ***
[info] Check README.md for more information.
[info] Fetching artifacts of
[info] Fetched artifacts of
[info] Unpacking dotty-library sources to /Users/nicolasstucki/GitHub/scala/target/library/src_managed/main/dotty-library-src...
[info] Compiling 618 Scala sources and 148 Java sources to /Users/nicolasstucki/GitHub/scala/build/quick/classes/library ...
[warn] bad option '-Wconf:cat=unchecked&msg=The outer reference in this type test cannot be checked at run time.:s' was ignored
[warn] bad option '-Wconf:cat=optimizer:is' was ignored
[warn] bad option '-Xlint:-deprecation,-inaccessible,-nonlocal-return,-valpattern,-doc-detached,_' was ignored
[warn] -- Warning: /Users/nicolasstucki/GitHub/scala/src/library/scala/package.scala:19:15
[warn] 19 |package object scala {
[warn] | ^
[warn] | object package is in the wrong directory.
[warn] | It was declared to be in package <empty>.scala
[warn] | But it is found in directory scala
[warn] -- Warning: /Users/nicolasstucki/GitHub/scala/src/library/scala/reflect/package.scala:72:11
[warn] 72 |case class ScalaReflectionException(msg: String) extends Exception(msg)
[warn] | ^
[warn] | class ScalaReflectionException is in the wrong directory.
[warn] | It was declared to be in package scala
[warn] | But it is found in directory scala/reflect
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Enumeration.scala:159:37
[error] 159 | throw new NoSuchElementException(s"No value found for '$s'"))
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Enumeration.scala:305:37
[error] 305 | override def className: String = s"$thisenum.ValueSet"
[error] | ^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product.scala:62:45
[error] 62 | else throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max ${productArity-1}")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
...
< summary> Full output
```scala
(base) ➜ scala git:(dotty-release-0.26-RC1) sbt -Dscala.build.compileWithDotty=true library/compile
[info] welcome to sbt 1.3.12 (Oracle Corporation Java 1.8.0_181)
[info] loading settings for project global-plugins from idea.sbt ...
[info] loading global plugins from /Users/nicolasstucki/.sbt/1.0/plugins
[info] loading settings for project scala-build-build from plugins.sbt ...
[info] loading project definition from /Users/nicolasstucki/GitHub/scala/project/project
[info] loading settings for project scala-build from plugins.sbt ...
[info] loading project definition from /Users/nicolasstucki/GitHub/scala/project
[info] Compiling 1 Scala source to /Users/nicolasstucki/GitHub/scala/project/target/scala-2.12/sbt-1.0/classes ...
[info] loading settings for project root from build.sbt ...
[info] resolving key references (18722 settings) ...
[info] *** Welcome to the sbt build definition for Scala! ***
[info] Check README.md for more information.
[info] Fetching artifacts of
[info] Fetched artifacts of
[info] Unpacking dotty-library sources to /Users/nicolasstucki/GitHub/scala/target/library/src_managed/main/dotty-library-src...
[info] Compiling 618 Scala sources and 148 Java sources to /Users/nicolasstucki/GitHub/scala/build/quick/classes/library ...
[warn] bad option '-Wconf:cat=unchecked&msg=The outer reference in this type test cannot be checked at run time.:s' was ignored
[warn] bad option '-Wconf:cat=optimizer:is' was ignored
[warn] bad option '-Xlint:-deprecation,-inaccessible,-nonlocal-return,-valpattern,-doc-detached,_' was ignored
[warn] -- Warning: /Users/nicolasstucki/GitHub/scala/src/library/scala/package.scala:19:15
[warn] 19 |package object scala {
[warn] | ^
[warn] | object package is in the wrong directory.
[warn] | It was declared to be in package .scala
[warn] | But it is found in directory scala
[warn] -- Warning: /Users/nicolasstucki/GitHub/scala/src/library/scala/reflect/package.scala:72:11
[warn] 72 |case class ScalaReflectionException(msg: String) extends Exception(msg)
[warn] | ^
[warn] | class ScalaReflectionException is in the wrong directory.
[warn] | It was declared to be in package scala
[warn] | But it is found in directory scala/reflect
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Enumeration.scala:159:37
[error] 159 | throw new NoSuchElementException(s"No value found for '$s'"))
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Enumeration.scala:305:37
[error] 305 | override def className: String = s"$thisenum.ValueSet"
[error] | ^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product.scala:62:45
[error] 62 | else throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max ${productArity-1}")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product1.scala:42:50
[error] 42 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 0)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product10.scala:51:50
[error] 51 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 9)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product11.scala:52:50
[error] 52 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 10)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product12.scala:53:50
[error] 53 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 11)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product13.scala:54:50
[error] 54 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 12)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product14.scala:55:50
[error] 55 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 13)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product15.scala:56:50
[error] 56 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 14)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product16.scala:57:50
[error] 57 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 15)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product17.scala:58:50
[error] 58 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 16)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product18.scala:59:50
[error] 59 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 17)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product19.scala:60:50
[error] 60 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 18)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product2.scala:43:50
[error] 43 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 1)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product20.scala:61:50
[error] 61 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 19)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product21.scala:62:50
[error] 62 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 20)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product22.scala:63:50
[error] 63 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 21)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product3.scala:44:50
[error] 44 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 2)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product4.scala:45:50
[error] 45 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 3)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product5.scala:46:50
[error] 46 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 4)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product6.scala:47:50
[error] 47 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 5)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product7.scala:48:50
[error] 48 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 6)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product8.scala:49:50
[error] 49 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 7)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/Product9.scala:50:50
[error] 50 | case _ => throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max 8)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/StringContext.scala:327:15
[error] 327 | val ok = s"""[\\b, \\t, \\n, \\f, \\r, \\\\, \\", \\', \\uxxxx]"""
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/StringContext.scala:328:54
[error] 328 | if (index == str.length - 1) "at terminal" else s"'\\${str(index + 1)}' not one of $ok at"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/StringContext.scala:333:4
[error] 333 | s"""invalid unicode escape at index $index of $str"""
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/ArrayOps.scala:1547:76
[error] 1547 | if(index < 0 || index >= xs.length) throw new IndexOutOfBoundsException(s"$index is out of bounds (min 0, max ${xs.length-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/BitSet.scala:135:59
[error] 135 | assert(shape.shape == StepperShape.ReferenceShape, s"unexpected StepperShape: $shape")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E008] Not Found Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/Iterator.scala:156:36
[error] 156 | require(size >= 1 && step >= 1, f"size=$size%d and step=$step%d, but both must be positive")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | value f is not a member of StringContext
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/LazyZipOps.scala:134:26
[error] 134 | override def toString = s"$coll1.lazyZip($coll2)"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/LazyZipOps.scala:274:26
[error] 274 | override def toString = s"$coll1.lazyZip($coll2).lazyZip($coll3)"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/LazyZipOps.scala:416:26
[error] 416 | override def toString = s"$coll1.lazyZip($coll2).lazyZip($coll3).lazyZip($coll4)"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/Map.scala:307:34
[error] 307 | iterator.map { case (k, v) => s"$k -> $v" }.addString(sb, start, sep, end)
[error] | ^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/SeqView.scala:95:42
[error] 95 | throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${if (underlying.knownSize >= 0) knownSize - 1 else "unknown"})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/StringOps.scala:1579:34
[error] 1579 | override def toString: String = s"StringView($s)"
[error] | ^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/generic/DefaultSerializationProxy.scala:42:53
[error] 42 | if(count != k) throw new IllegalStateException(s"Illegal size $count of collection, expected $k")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/ChampCommon.scala:60:39
[error] 60 | new ArrayIndexOutOfBoundsException(s"$ix is out of bounds (min 0, max ${as.length-1}")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/LazyList.scala:777:34
[error] 777 | require(size > 0 && step > 0, s"size=$size and step=$step, but both must be positive")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/LazyList.scala:824:55
[error] 824 | if (index < 0) throw new IndexOutOfBoundsException(s"$index")
[error] | ^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/List.scala:240:42
[error] 240 | throw new IndexOutOfBoundsException(s"$index is out of bounds (min 0, max ${length-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/NumericRange.scala:103:70
[error] 103 | if (idx < 0 || idx >= length) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${length - 1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/NumericRange.scala:252:41
[error] 252 | val stepped = if (step == 1) "" else s" by $step"
[error] | ^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/NumericRange.scala:253:4
[error] 253 | s"${empty}NumericRange $start $preposition $end$stepped"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/NumericRange.scala:267:31
[error] 267 | case bd: BigDecimal => s"Precision ${bd.mc.getPrecision}"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/NumericRange.scala:271:8
[error] 271 | s"$msg inadequate to represent steps of size $step near $boundary"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Range.scala:78:59
[error] 78 | assert(shape.shape == StepperShape.ReferenceShape, s"unexpected StepperShape: $shape")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Range.scala:180:80
[error] 180 | if (idx < 0 || idx >= numRangeElements) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${numRangeElements-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Range.scala:481:41
[error] 481 | val stepped = if (step == 1) "" else s" by $step"
[error] | ^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Range.scala:483:4
[error] 483 | s"${prefix}Range $start $preposition $end$stepped"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E008] Not Found Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Range.scala:491:23
[error] 491 | require(size >= 1, f"size=$size%d, but size must be positive")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | value f is not a member of StringContext
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/StrictOptimizedSeqOps.scala:42:55
[error] 42 | if (index < 0) throw new IndexOutOfBoundsException(s"$index is out of bounds (min 0, max ${if (knownSize>=0) knownSize else "unknown"})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/StrictOptimizedSeqOps.scala:53:57
[error] 53 | if (!it.hasNext) throw new IndexOutOfBoundsException(s"$index is out of bounds (min 0, max ${i-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:367:68
[error] 367 | @inline private[immutable] def toBinaryString(i: Int): String = s"$i/${i.toBinaryString}"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:428:96
[error] 428 | protected def format(sb: StringBuilder, prefix: String, subPrefix: String): Unit = sb ++= s"${prefix}Ø"
[error] | ^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:435:96
[error] 435 | protected def format(sb: StringBuilder, prefix: String, subPrefix: String): Unit = sb ++= s"${prefix}Tip(${toBinaryString(ord)} -> $value)\n"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:444:15
[error] 444 | sb ++= s"${prefix}Bin(${toBinaryString(this.prefix)}:${toBinaryString(mask)})\n"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:568:70
[error] 568 | else if (zero(ordinal, m)) throw new IllegalArgumentException(s"Append called with ordinal out of range: $ordinal is not greater than current max ordinal ${this.ordinal}")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:577:43
[error] 577 | throw new IllegalArgumentException(s"Append called with ordinal out of range: $o is not greater than current max ordinal ${this.ordinal}")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/TreeSeqMap.scala:590:72
[error] 590 | } else if (zero(ordinal, m)) throw new IllegalArgumentException(s"Append called with ordinal out of range: $ordinal is not greater than current max ordinal ${this.ordinal}")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Vector.scala:274:34
[error] 274 | new IndexOutOfBoundsException(s"$index is out of bounds (min 0, max ${length-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Vector.scala:371:34
[error] 371 | new IndexOutOfBoundsException(s"$index is out of bounds (empty vector)")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Vector.scala:1343:4
[error] 1343 | s"VectorSliceBuilder(lo=$lo, hi=$hi, len=$len, pos=$pos, maxDim=$maxDim)"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Vector.scala:1618:41
[error] 1618 | throw new IllegalArgumentException(s"advance1($idx, $xor): a1=$a1, a2=$a2, a3=$a3, a4=$a4, a5=$a5, a6=$a6, depth=$depth")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/Vector.scala:1712:4
[error] 1712 | s"VectorBuilder(len1=$len1, lenRest=$lenRest, offset=$offset, depth=$depth)"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/immutable/WrappedString.scala:62:59
[error] 62 | assert(shape.shape == StepperShape.ReferenceShape, s"unexpected StepperShape: $shape")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayBuffer.scala:96:52
[error] 96 | if (lo < 0) throw new IndexOutOfBoundsException(s"$lo is out of bounds (min 0, max ${size0-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayBuffer.scala:97:56
[error] 97 | if (hi > size0) throw new IndexOutOfBoundsException(s"$hi is out of bounds (min 0, max ${size0 - 1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayBuffer.scala:284:53
[error] 284 | if (end == Int.MaxValue) throw new Exception(s"Collections can not have more than ${Int.MaxValue} elements")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayBuffer.scala:298:104
[error] 298 | def apply(n: Int) = if (n < length) array(n).asInstanceOf[A] else throw new IndexOutOfBoundsException(s"$n is out of bounds (min 0, max ${length - 1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:54:53
[error] 54 | assert((array.length & (array.length - 1)) == 0, s"Array.length must be power of 2")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:564:22
[error] 564 | require(len >= 0, s"Non-negative array size required")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:566:23
[error] 566 | require(size >= 0, s"ArrayDeque too big - cannot allocate ArrayDeque of length $len")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:269:26
[error] 269 | require(count == 0, s"removing negative number of elements: $count")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:302:50
[error] 302 | if (isEmpty) throw new NoSuchElementException(s"empty collection") else removeHeadAssumingNonEmpty(resizeInternalRepr)
[error] | ^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:329:50
[error] 329 | if (isEmpty) throw new NoSuchElementException(s"empty collection") else removeLastAssumingNonEmpty(resizeInternalRepr)
[error] | ^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:583:69
[error] 583 | if (idx < 0 || idx >= until) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${until-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ArrayDeque.scala:636:36
[error] 636 | require(window > 0 && step > 0, s"window=$window and step=$step, but both must be positive")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/CollisionProofHashMap.scala:861:28
[error] 861 | override def toString = s"LLNode($key, $value, $hash) -> $next"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/HashMap.scala:618:28
[error] 618 | override def toString = s"Node($key, $value, $hash) -> $next"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/HashSet.scala:439:28
[error] 439 | override def toString = s"Node($key, $hash) -> $next"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ListBuffer.scala:183:67
[error] 183 | if (idx < 0 || idx >= len) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${len-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ListBuffer.scala:203:66
[error] 203 | if (idx < 0 || idx > len) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${len-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ListBuffer.scala:236:68
[error] 236 | if (idx < 0 || idx > len) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${len-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ListBuffer.scala:244:67
[error] 244 | if (idx < 0 || idx >= len) throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${len-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/ListBuffer.scala:261:76
[error] 261 | if (idx < 0 || idx + count > len) throw new IndexOutOfBoundsException(s"$idx to ${idx + count} is out of bounds (min 0, max ${len-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/UnrolledBuffer.scala:161:45
[error] 161 | else throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${sz-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/UnrolledBuffer.scala:165:45
[error] 165 | else throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${sz-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/UnrolledBuffer.scala:176:47
[error] 176 | } else throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${sz-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/collection/mutable/UnrolledBuffer.scala:196:47
[error] 196 | } else throw new IndexOutOfBoundsException(s"$idx is out of bounds (min 0, max ${sz-1})")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/concurrent/Future.scala:592:33
[error] 592 | throw new TimeoutException(s"Future timed out after [$atMost]")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/concurrent/Future.scala:599:33
[error] 599 | throw new TimeoutException(s"Future timed out after [$atMost]")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/concurrent/duration/Duration.scala:219:78
[error] 219 | private[this] def fail(what: String) = throw new IllegalArgumentException(s"$what not allowed on infinite Durations")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/io/Source.scala:99:29
[error] 99 | )(codec) withDescription s"file:${file.getAbsolutePath}"
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/io/Source.scala:181:55
[error] 181 | case None => throw new FileNotFoundException(s"resource '$resource' was not found in the classpath from the given classloader.")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/jdk/Accumulator.scala:119:44
[error] 119 | else throw new IllegalArgumentException(s"Size too large for an Int: $sizeLong")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/jdk/DoubleAccumulator.scala:40:59
[error] 40 | assert(shape.shape == StepperShape.ReferenceShape, s"unexpected StepperShape: $shape")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/jdk/IntAccumulator.scala:40:59
[error] 40 | assert(shape.shape == StepperShape.ReferenceShape, s"unexpected StepperShape: $shape")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
[error] -- [E050] Type Error: /Users/nicolasstucki/GitHub/scala/src/library/scala/jdk/LongAccumulator.scala:40:59
[error] 40 | assert(shape.shape == StepperShape.ReferenceShape, s"unexpected StepperShape: $shape")
[error] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error] | object s in class StringContext does not take parameters
```
When compiling scala/scala with 2.26.0-RC1 (see https://github.com/scala/scala/pull/9136) we first get some warning about packages that are in the wrong directory and then it fails to compile calls to
StringContext.s
saying that it does not receive parameters.