Do not suggest "add inner" quick fix for interfaces etc. #KT-18396 Fixed

This commit is contained in:
Toshiaki Kameyama
2017-12-23 12:45:11 +03:00
committed by Mikhail Glukhikh
parent 84a6ef6ac4
commit 184651d366
10 changed files with 115 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// "Add 'inner' modifier" "false"
// ACTION: Create test
// ERROR: Class is not allowed here
// ERROR: Data class must have at least one primary constructor parameter
class A() {
inner class B() {
data class <caret>C
}
}