Add a quick fix for NO_CONSTRUCTOR error on 'expect' annotation entry

#KT-20718 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-12-20 13:13:25 +09:00
committed by Dmitry Gridin
parent d846a22e33
commit 7be5410877
7 changed files with 77 additions and 8 deletions
@@ -0,0 +1,8 @@
// "Add default constructor to expect class" "true"
// ENABLE_MULTIPLATFORM
// ERROR: Expected annotation class 'Foo' has no actual declaration in module light_idea_test_case for JVM
expect annotation class Foo()
@Foo
fun bar() {}