[FIR] Add expect actual checker

This commit is contained in:
Dmitriy Novozhilov
2021-05-24 16:44:23 +03:00
committed by teamcityserver
parent faadb08174
commit c3060e861f
45 changed files with 1687 additions and 80 deletions
@@ -38,10 +38,6 @@ FILE: RedundantModalityModifierChecker.kt
public abstract interface Foo : R|kotlin/Any| {
}
public abstract expect class AbstractClass : R|Foo| {
public expect constructor(): R|AbstractClass| {
super<R|kotlin/Any|>()
}
public abstract expect override fun foo(): R|kotlin/Unit|
public abstract expect fun bar(): R|kotlin/Unit|
@@ -2,10 +2,6 @@ FILE: B.kt
public abstract expect interface Other : R|kotlin/Any| {
}
public final expect class Another : R|kotlin/Any| {
public expect constructor(): R|b/d/Another| {
super<R|kotlin/Any|>()
}
}
public final fun baz(): R|kotlin/Unit| {
}
@@ -1,10 +1,6 @@
Module: m1-common
FILE: common.kt
public final expect class MyList : R|kotlin/Any| {
public expect constructor(): R|MyList| {
super<R|kotlin/Any|>()
}
public final expect fun get(i: R|kotlin/Int|): R|kotlin/Int|
}