Inline (wrapper) class IC extends erased inline class IC$Erased

This commit is contained in:
Dmitry Petrov
2018-08-29 17:57:38 +03:00
parent a46b28718e
commit 3080b65f7d
18 changed files with 143 additions and 22 deletions
@@ -0,0 +1,15 @@
// !LANGUAGE: +InlineClasses
inline class Z(val x: Int)
interface IFoo
interface IBar
inline class FooBar(val x: Int) : IFoo, IBar
// 1 public final class Z extends Z\$Erased
// 1 static class Z\$Erased
// 0 public static class Z\$Erased
// 1 public final class FooBar extends FooBar\$Erased implements IFoo IBar
// 1 static class FooBar\$Erased
// 0 public static class FooBar\$Erased