File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/** Decompiled from out/posTestFromTasty/pos/simpleCaseObject/foo/Foo.tasty */
2
2
package foo {
3
3
case object Foo {
4
- def writeReplace(): scala.AnyRef = new scala.runtime.ModuleSerializationProxy(classOf[foo.Foo])
5
4
override def hashCode(): scala.Int = 1045991777
6
5
override def toString(): java.lang.String = "Foo"
7
6
override def canEqual(that: scala.Any): scala.Boolean = that.isInstanceOf[foo.Foo.type @scala.unchecked()]
@@ -12,4 +11,4 @@ package foo {
12
11
throw new java.lang.IndexOutOfBoundsException(n.toString())
13
12
}
14
13
}
15
- }
14
+ }
Original file line number Diff line number Diff line change
1
+ /** Decompiled from out/runTestFromTasty/run/classof-object/Test.tasty */
2
+ object Test {
3
+ def main(args: scala.Array[scala.Predef.String]): scala.Unit = if (scala.Predef.classOf[Test.type].==(Test.getClass()).unary_!) dotty.DottyPredef.assertFail() else ()
4
+ }
You can’t perform that action at this time.
0 commit comments