-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed as not planned
Labels
area:inlineitype:bugstat:fixed in nextThe issue was fixed in Next and only still applies to LTS.The issue was fixed in Next and only still applies to LTS.stat:needs decisionSome aspects of this issue need a decision from the maintainance team.Some aspects of this issue need a decision from the maintainance team.
Description
Compiler version
Bug exists in 3.3.6 LTS
Not exists in 3.7.2
Minimized code
inline def f(t0: Int, t1: Int, t2: Int) = {
inline (t0, t1, t2) match {
case (a: Int, b: Int, c: Int) => println(s"a = $a, b = $b, c = $c")
}
}
@main def test = f(0, 1, 2)
Same on scastie: https://scastie.scala-lang.org/7GBujdEDQS6VxxKGipykqA
Output
a = 0, b = 2, c = 2
Expectation
a = 0, b = 1, c = 2
Metadata
Metadata
Assignees
Labels
area:inlineitype:bugstat:fixed in nextThe issue was fixed in Next and only still applies to LTS.The issue was fixed in Next and only still applies to LTS.stat:needs decisionSome aspects of this issue need a decision from the maintainance team.Some aspects of this issue need a decision from the maintainance team.