Mark value arguments in case of empty delegation call

It's useful for quickfixes for these diagnostics
This commit is contained in:
Denis Zharkov
2015-03-23 19:42:51 +03:00
parent 1a2167e062
commit d0c72c2c3d
6 changed files with 11 additions and 10 deletions
@@ -1,6 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A(x: Int) {
<!PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor<!>()
<!PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor()<!>
}
open class B(x: Int)
class C(x: Int) : B(x) {