Skip to content

Commit 40600f2

Browse files
committed
Disable inline bytecode test for .nn
... until we figured out what the best code sequence is.
1 parent 2c6590d commit 40600f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/test/dotty/tools/backend/jvm/InlineBytecodeTests.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ class InlineBytecodeTests extends DottyBytecodeTest {
108108
}
109109
}
110110
*/
111-
111+
/*
112112
@Test def inlineNn = {
113113
val source =
114114
s"""
115115
|class Foo {
116116
| def meth1(x: Int | Null): Int = x.nn
117-
| def meth2(x: Int | Null): Int = scala.runtime.Scala3RunTime.nn(x)
117+
| def meth2(x: Int | Null): Int = x.getClass; x
118118
|}
119119
""".stripMargin
120120
@@ -132,7 +132,7 @@ class InlineBytecodeTests extends DottyBytecodeTest {
132132
diffInstructions(instructions1, instructions2))
133133
}
134134
}
135-
135+
*/
136136
@Test def i4947 = {
137137
val source = """class Foo {
138138
| transparent inline def track[T](inline f: T): T = {

0 commit comments

Comments
 (0)