You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Error: tests/pos/inline-match-separate/inline-match-separate_1.scala:6:65 ---
6 | inline def summonAllValues[T] <: T = inline erasedValue[Id[T]] match {
| ^
|cannot reduce inline match with
| scrutinee: compiletime.erasedValue[Utils.Id[Foo.Labels]] : Utils.Id[Foo.Labels]
| patterns : case _:Unit
| case _:Tuple2[a @ _, b @ _]
| This location is in code that was inlined at inline-match-separate_2.scala:8
7 | case _: Unit => ()
8 | case _: (a, b) => (constValue[a], summonAllValues[b])
9 | }
one error found
The text was updated successfully, but these errors were encountered:
The following compiles correctly as a single source file,
However, if
Utils
is split off to a separate source file and compiled first,with the following second,
then the latter fails with,
The text was updated successfully, but these errors were encountered: