Fixed 'Implement members implement functions with no curly braces - not convenient'
#KT-1317 fixed
This commit is contained in:
@@ -4,5 +4,7 @@ trait G<T> {
|
||||
|
||||
class GC() : G<Int> {
|
||||
|
||||
override fun foo(t: Int): Int = 0
|
||||
override fun foo(t: Int): Int {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user