We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7a578 commit d09dbd6Copy full SHA for d09dbd6
compiler/test/dotty/tools/dotc/SimplifyTests.scala
@@ -77,7 +77,10 @@ trait SimplifyEquivalences { self: DottyBytecodeTest =>
77
""",
78
"""
79
|val t = Tuple2(1, "s")
80
- |print(new Some(new Tuple2(t._1, t._2)))
+ |print({
81
+ | Tuple2 // TODO: teach Simplify that initializing Tuple2 has no effect
82
+ | new Some(new Tuple2(t._1, t._2))
83
+ |})
84
""")
85
86
@Test def constantFold =
0 commit comments