Unused object.

unusedButEntryPointMain for class was actually a wrong test: it didn't check anything, because objects are were not checked for unusedness before.
This commit is contained in:
Evgeny Gerashchenko
2015-01-21 21:36:57 +03:00
parent a797f4a328
commit 386854d73f
19 changed files with 105 additions and 12 deletions
@@ -0,0 +1,9 @@
object A {
fun foo() {
A.bar()
}
fun bar() {
A.foo()
}
}