Handle modifiers correctly in "val to object" #KT-18919 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0b5b5d8e89
commit
8e59d3e379
@@ -0,0 +1,6 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
expect interface EmptyInterface
|
||||
|
||||
expect val <caret>ofInterface = object : EmptyInterface{}
|
||||
@@ -0,0 +1,6 @@
|
||||
// SKIP_ERRORS_BEFORE
|
||||
// SKIP_ERRORS_AFTER
|
||||
|
||||
expect interface EmptyInterface
|
||||
|
||||
expect object ofInterface : EmptyInterface {}
|
||||
Reference in New Issue
Block a user