Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
inline
/
virtualMemberInEnum.kt
blob: 0af3607c4a83ecc7c2af68805caf7a26e7584ff8 [
file
]
enum
class
Some
{
A
{
override
fun foo
(
s
:
()
->
String
):
String
{
return
s
()
+
s
()
}
};
//SHOULD BE ERROR REPORTED
open
<!
DECLARATION_CANT_BE_INLINED_WARNING
!>
inline
<!>
fun foo
(
s
:
()
->
String
):
String
{
return
s
()
}
}