mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
Add MutableMap.remove(K, V) as built-in declaration
Use PlatformDependent annotation to guarantee it's only be available for JDK8 Also adjust type-safe bridges and mutable collection stubs generation
This commit is contained in:
@@ -7,5 +7,5 @@ abstract class A8 : MutableCollection<Any> {
|
||||
// 1 bridge
|
||||
// 1 public final bridge size
|
||||
// 0 INSTANCEOF
|
||||
/* Only 1 IFNONNULL should be within contains method */
|
||||
// 1 IFNONNULL
|
||||
/* Only 1 IFNULL should be within contains method */
|
||||
// 1 IFNULL
|
||||
|
||||
@@ -7,5 +7,5 @@ abstract class A<T : Any> : MutableCollection<T> {
|
||||
// 1 bridge
|
||||
// 1 public final bridge size
|
||||
// 0 INSTANCEOF
|
||||
/* Only 1 IFNONNULL should be within contains method (because T is not nullable) */
|
||||
// 1 IFNONNULL
|
||||
/* Only 1 IFNULL should be within contains method (because T is not nullable) */
|
||||
// 1 IFNULL
|
||||
|
||||
Reference in New Issue
Block a user