Skip to content

Commit fdf8139

Browse files
committed
Fix after rebase
1 parent b8184cf commit fdf8139

6 files changed

+26
-26
lines changed

tests/run/literals.decompiled

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** Decompiled from out/runTestFromTasty/run/literals/Test.class */
1+
/** Decompiled from out/runTestFromTasty/run/literals/Test.tasty */
22
object Test {
33
def αρετη: java.lang.String = "alpha rho epsilon tau eta"
44
case class GGG(i: scala.Int) {
@@ -9,13 +9,13 @@ object Test {
99
scala.runtime.Statics.finalizeHash(acc, 1)
1010
}
1111
override def equals(x$0: scala.Any): scala.Boolean = GGG.this.eq(x$0.asInstanceOf[java.lang.Object]).||(x$0 match {
12-
case x$0: Test.GGG @scala.unchecked() =>
12+
case x$0: Test.GGG @scala.unchecked =>
1313
GGG.this.i.==(x$0.i)
1414
case _ =>
1515
false
1616
})
1717
override def toString(): java.lang.String = scala.runtime.ScalaRunTime._toString(GGG.this)
18-
override def canEqual(that: scala.Any): scala.Boolean = that.isInstanceOf[Test.GGG @scala.unchecked()]
18+
override def canEqual(that: scala.Any): scala.Boolean = that.isInstanceOf[Test.GGG @scala.unchecked]
1919
override def productArity: scala.Int = 1
2020
override def productPrefix: java.lang.String = "GGG"
2121
override def productElement(n: scala.Int): scala.Any = n match {

tests/run/simpleClass.decompiled

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
/** Decompiled from out/runTestFromTasty/run/simpleClass/Test.class */
1+
/** Decompiled from out/runTestFromTasty/run/simpleClass/Test.tasty */
22
object Test {
33
def main(args: scala.Array[scala.Predef.String]): scala.Unit = {
44
scala.Predef.println(new foo.A().getClass().getName())
55
scala.Predef.println(new foo.B().getClass().getName())
66
}
77
}
8-
/** Decompiled from out/runTestFromTasty/run/simpleClass/foo/A.class */
8+
/** Decompiled from out/runTestFromTasty/run/simpleClass/foo/A.tasty */
99
package foo {
1010
class A()
1111
}
12-
/** Decompiled from out/runTestFromTasty/run/simpleClass/foo/B.class */
12+
/** Decompiled from out/runTestFromTasty/run/simpleClass/foo/B.tasty */
1313
package foo {
14-
class B() extends foo.A()
14+
class B() extends foo.A
1515
}

tests/run/t4300.decompiled

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/** Decompiled from out/runTestFromTasty/run/t4300/A.class */
1+
/** Decompiled from out/runTestFromTasty/run/t4300/A.tasty */
22
trait A() extends java.lang.Object {
33
def f(): scala.Unit = scala.Predef.println("A")
44
}
5-
/** Decompiled from out/runTestFromTasty/run/t4300/B.class */
5+
/** Decompiled from out/runTestFromTasty/run/t4300/B.tasty */
66
class B() extends A {
77
def b(): scala.Unit = super[A].f()
88
trait C() extends java.lang.Object {
@@ -12,14 +12,14 @@ class B() extends A {
1212
def h(): scala.Unit = scala.Predef.intWrapper(0).until(1).foreach[scala.Unit](((i: scala.Int) => B.super[A].f()))
1313
override def f(): scala.Unit = scala.Predef.println("B")
1414
}
15-
/** Decompiled from out/runTestFromTasty/run/t4300/Test.class */
15+
/** Decompiled from out/runTestFromTasty/run/t4300/Test.tasty */
1616
object Test {
1717
def main(args: scala.Array[scala.Predef.String]): scala.Unit = {
1818
val b: B = new B()
1919
b.b()
2020

2121
{
22-
final class $anon() extends b.C()
22+
final class $anon() extends b.C
2323
(new $anon(): b.C)
2424
}.c()
2525
b.g()

tests/run/t889.decompiled

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/** Decompiled from out/runTestFromTasty/run/t889/Test.class */
2-
object Test extends dotty.runtime.LegacyApp() {
1+
/** Decompiled from out/runTestFromTasty/run/t889/Test.tasty */
2+
object Test extends dotty.runtime.LegacyApp {
33
val a: collection.immutable.List[java.lang.String] = scala.List.apply[java.lang.String]("a")
44
Test.a match {
55
case scala.Seq("a", "b", rest: _*) =>

tests/run/valueclasses-pavlov.decompiled

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Box1.class */
2-
final class Box1(val value: scala.Predef.String) extends scala.AnyVal() {
1+
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Box1.tasty */
2+
final class Box1(val value: scala.Predef.String) extends scala.AnyVal {
33
override def hashCode(): scala.Int = Box1.this.value.hashCode()
44
override def equals(x$0: scala.Any): scala.Boolean = x$0 match {
5-
case x$0: Box1 @scala.unchecked() =>
5+
case x$0: Box1 @scala.unchecked =>
66
Box1.this.value.==(x$0.value)
77
case _ =>
88
false
99
}
1010
}
11-
object Box1 extends scala.AnyRef()
12-
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Box2.class */
13-
final class Box2(val value: scala.Predef.String) extends scala.AnyVal() with Foo {
11+
object Box1 extends scala.AnyRef
12+
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Box2.tasty */
13+
final class Box2(val value: scala.Predef.String) extends scala.AnyVal with Foo {
1414
def box1(x: Box1): scala.Predef.String = "box1: ok"
1515
def box2(x: Box2): scala.Predef.String = "box2: ok"
1616
override def hashCode(): scala.Int = Box2.this.value.hashCode()
1717
override def equals(x$0: scala.Any): scala.Boolean = x$0 match {
18-
case x$0: Box2 @scala.unchecked() =>
18+
case x$0: Box2 @scala.unchecked =>
1919
Box2.this.value.==(x$0.value)
2020
case _ =>
2121
false
2222
}
2323
}
24-
object Box2 extends scala.AnyRef()
25-
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/C.class */
24+
object Box2 extends scala.AnyRef
25+
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/C.tasty */
2626
class C(x: scala.Predef.String) {
2727
def this() = {
2828
this("")
2929
()
3030
}
3131
}
32-
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Foo.class */
32+
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Foo.tasty */
3333
trait Foo() extends scala.Any {
3434
def box1(x: Box1): scala.Predef.String
3535
def box2(x: Box2): scala.Predef.String
3636
}
37-
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Test.class */
37+
/** Decompiled from out/runTestFromTasty/run/valueclasses-pavlov/Test.tasty */
3838
object Test {
3939
def main(args: scala.Array[scala.Predef.String]): scala.Unit = {
4040
val b1: Box1 = new Box1("")

tests/run/virtpatmat_alts.decompiled

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/** Decompiled from out/runTestFromTasty/run/virtpatmat_alts/Test.class */
2-
object Test extends dotty.runtime.LegacyApp() {
1+
/** Decompiled from out/runTestFromTasty/run/virtpatmat_alts/Test.tasty */
2+
object Test extends dotty.runtime.LegacyApp {
33
scala.Tuple2.apply[scala.Boolean, scala.Boolean](true, true) match {
44
case (scala.Tuple2(true, true) | scala.Tuple2(false, false)) =>
55
1

0 commit comments

Comments
 (0)