diff --git a/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala b/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala index 76e19e06463a..c2ddd535b728 100644 --- a/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala +++ b/compiler/src/dotty/tools/dotc/reporting/MessageRendering.scala @@ -116,26 +116,27 @@ trait MessageRendering { * ``` * Or if there `soft` is true, * ``` - * |··············· + * |- - - - - - - - * ``` */ private def newBox(soft: Boolean = false)(using Context, Level, Offset): String = val pageWidth = ctx.settings.pageWidth.value val prefix = " " * (offset - 1) - val line = (if soft then "·" else "-") * (pageWidth - offset) + val lineWidth = (pageWidth - offset) + val line = if soft then ("- " * ((lineWidth + 1) / 2)).trim else "-" * lineWidth hl(s"$prefix|$line") /** The end of a box section * * ``` - * ·---------------- + * ---------------- * ``` */ private def endBox(using Context, Level, Offset): String = val pageWidth = ctx.settings.pageWidth.value val prefix = " " * (offset - 1) val line = "-" * (pageWidth - offset) - hl(s"${prefix}·$line") + hl(s"${prefix} $line") /** The error message (`msg`) aligned under `pos` * diff --git a/tests/neg-custom-args/i11637.check b/tests/neg-custom-args/i11637.check index 41c49d81e9d0..0664a05f4f86 100644 --- a/tests/neg-custom-args/i11637.check +++ b/tests/neg-custom-args/i11637.check @@ -4,7 +4,7 @@ | Type argument test2.FunctorImpl does not conform to upper bound [Generic2[T <: String] <: Set[T]] =>> Any |-------------------------------------------------------------------------------------------------------------------- | Explanation (enabled by `-explain`) - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | I tried to show that | test2.FunctorImpl | conforms to @@ -25,14 +25,14 @@ | <== test2.FunctorImpl <: [Generic2[T <: String] <: Set[T]] =>> Any = false | | The tests were made under the empty constraint - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- -- [E057] Type Mismatch Error: tests/neg-custom-args/i11637.scala:11:21 ------------------------------------------------ 11 | var h = new HKT3_1[FunctorImpl](); // error // error | ^ | Type argument test2.FunctorImpl does not conform to upper bound [Generic2[T <: String] <: Set[T]] =>> Any |-------------------------------------------------------------------------------------------------------------------- | Explanation (enabled by `-explain`) - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | I tried to show that | test2.FunctorImpl | conforms to @@ -53,4 +53,4 @@ | <== test2.FunctorImpl <: [Generic2[T <: String] <: Set[T]] =>> Any = false | | The tests were made under the empty constraint - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/i11386.check b/tests/neg-macros/i11386.check index 1cce199159a5..f74ea5b7ff20 100644 --- a/tests/neg-macros/i11386.check +++ b/tests/neg-macros/i11386.check @@ -5,19 +5,19 @@ | test |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Test_2.scala:6 7 | notNull(i) | ^^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- -- Error: tests/neg-macros/i11386/Test_2.scala:8:20 -------------------------------------------------------------------- 8 | dummy(int2String(0)) // error | ^^^^^^^^^^^^^ | test |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Test_2.scala:8 7 | notNull(i) | ^^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/i13991.check b/tests/neg-macros/i13991.check index 15f45af227e5..ca9f924a6693 100644 --- a/tests/neg-macros/i13991.check +++ b/tests/neg-macros/i13991.check @@ -5,12 +5,12 @@ | Error |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Test_2.scala:3 3 | inline def v2 = InlineMac.sample("foo") | ^^^^^ - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Test_2.scala:3 3 | inline def v2 = InlineMac.sample("foo") | ^^^^^^^^^^^^^^^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/i6976.check b/tests/neg-macros/i6976.check index b67f05960a79..0c30aa856ed1 100644 --- a/tests/neg-macros/i6976.check +++ b/tests/neg-macros/i6976.check @@ -8,8 +8,8 @@ | |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Macro_1.scala:6 6 | inline def mcr(x: => Any) = ${mcrImpl('x)} | ^^^^^^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/ill-abort.check b/tests/neg-macros/ill-abort.check index 2aa9d3396e53..2f76c89d88dd 100644 --- a/tests/neg-macros/ill-abort.check +++ b/tests/neg-macros/ill-abort.check @@ -5,8 +5,8 @@ |Macro expansion was aborted by the macro without any errors reported. Macros should issue errors to end-users to facilitate debugging when aborting a macro expansion. |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from quoted_1.scala:3 3 |inline def fail(): Unit = ${ impl } | ^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/macro-class-not-found-1.check b/tests/neg-macros/macro-class-not-found-1.check index 08ba5b99f0b8..f16aac4efe3e 100644 --- a/tests/neg-macros/macro-class-not-found-1.check +++ b/tests/neg-macros/macro-class-not-found-1.check @@ -7,8 +7,8 @@ | |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Foo.scala:5 5 | inline def myMacro(): Unit = ${ aMacroImplementation } | ^^^^^^^^^^^^^^^^^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg-macros/macro-class-not-found-2.check b/tests/neg-macros/macro-class-not-found-2.check index d4ed8f222ba0..3665ea1a9431 100644 --- a/tests/neg-macros/macro-class-not-found-2.check +++ b/tests/neg-macros/macro-class-not-found-2.check @@ -7,8 +7,8 @@ | |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from Foo.scala:5 5 | inline def myMacro(): Unit = ${ aMacroImplementation } | ^^^^^^^^^^^^^^^^^^^^^^^^^ - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/cannot-reduce-inline-match.check b/tests/neg/cannot-reduce-inline-match.check index e35066949333..10ffaecbd2e8 100644 --- a/tests/neg/cannot-reduce-inline-match.check +++ b/tests/neg/cannot-reduce-inline-match.check @@ -6,10 +6,10 @@ | patterns : case _:Int |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from cannot-reduce-inline-match.scala:3 3 | inline x match { | ^ 4 | case _: Int => 5 | } - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/i11225.check b/tests/neg/i11225.check index 0aa5f720e24b..c0f74bc04a14 100644 --- a/tests/neg/i11225.check +++ b/tests/neg/i11225.check @@ -44,8 +44,8 @@ | `uninitialized` can only be used as the right hand side of a mutable field definition |-------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i11225.scala:25 25 | transparent inline def uni = uninitialized | ^^^^^^^^^^^^^ - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/i13044.check b/tests/neg/i13044.check index b3e278792148..c5584aadf767 100644 --- a/tests/neg/i13044.check +++ b/tests/neg/i13044.check @@ -6,71 +6,71 @@ | Try increasing `-Xmax-inlines` above 32 |-------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 18 | builder :: recurse[ts] | ^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:17 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- -- Error: tests/neg/i13044.scala:50:40 --------------------------------------------------------------------------------- 50 | implicit def typeSchema: Schema[A] = Schema.gen // error // error | ^^^^^^^^^^ @@ -79,68 +79,68 @@ | Try increasing `-Xmax-inlines` above 32 |-------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 18 | builder :: recurse[ts] | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] | ^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 18 | builder :: recurse[ts] | ^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 31 | lazy val fields = recurse[m.MirroredElemTypes] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13044.scala:18 37 | inline given gen[A]: Schema[A] = derived | ^^^^^^^ - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/i13570.check b/tests/neg/i13570.check index cf1649b5f4a6..9c7edc6fdfe0 100644 --- a/tests/neg/i13570.check +++ b/tests/neg/i13570.check @@ -8,11 +8,11 @@ | case _ |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13570.scala:3 3 | inline seq match | ^ 4 | case s: Seq[Int] if s.isEmpty => println("seq is empty") 5 | case s: Seq[Int] => println("seq is not empty") 6 | case _ => println("somthing hinky happened") - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/i13991.check b/tests/neg/i13991.check index fd092b759c2b..009e116f95b1 100644 --- a/tests/neg/i13991.check +++ b/tests/neg/i13991.check @@ -4,12 +4,12 @@ | no implicit argument of type Foo[String] was found |-------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13991.scala:8 8 | compiletime.summonInline[Foo[A]].foo | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from i13991.scala:8 11 | second[A] + 42 // after line 10 to test alignment of the error message `|` | ^^^^^^^^^ - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/inline-error-pos.check b/tests/neg/inline-error-pos.check index 1d65175c6c39..5d2225903a8d 100644 --- a/tests/neg/inline-error-pos.check +++ b/tests/neg/inline-error-pos.check @@ -6,9 +6,9 @@ | patterns : case 1 |--------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |····················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from inline-error-pos.scala:3 3 | inline x match | ^ 4 | case 1 => 9 - ·--------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------- diff --git a/tests/neg/summonInline.check b/tests/neg/summonInline.check index db9b6968ee43..6c3839266ce4 100644 --- a/tests/neg/summonInline.check +++ b/tests/neg/summonInline.check @@ -4,19 +4,19 @@ | Missing One |-------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from summonInline.scala:15 15 | case 1 => summonInline[Missing1] | ^^^^^^^^^^^^^^^^^^^^^^ - ·-------------------------------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------------------------------------------------- -- Error: tests/neg/summonInline.scala:20:32 --------------------------------------------------------------------------- 20 |val missing2 = summonInlineCheck(2) // error | ^^^^^^^^^^^^^^^^^^^^ | Missing Two |-------------------------------------------------------------------------------------------------------------------- |Inline stack trace - |···················································································································· + |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |This location contains code that was inlined from summonInline.scala:16 16 | case 2 => summonInline[Missing2] | ^^^^^^^^^^^^^^^^^^^^^^ - ·-------------------------------------------------------------------------------------------------------------------- + --------------------------------------------------------------------------------------------------------------------