JS stdlib api test: various changes

- Setting -Doverwrite.output=true updates gold data
- Big packages don't get split into chunks
- Unique lines in the API are marked with /*∆*/ and diff test is removed
- Annotations on separate lines and other dump format tweaks
- Test data moved to libraries/stdlib/api/
- Minor visibility fix to Enum members
This commit is contained in:
Anton Bannykh
2020-06-06 16:19:04 +03:00
committed by Anton Bannykh
parent 7b61bf9178
commit cbabb4f76a
157 changed files with 54588 additions and 34221 deletions
+3 -3
View File
@@ -9,11 +9,11 @@ import kotlin.js.*
abstract class Enum<E : Enum<E>>(val name: String, val ordinal: Int) : Comparable<E> {
override fun compareTo(other: E) = ordinal.compareTo(other.ordinal)
final override fun compareTo(other: E) = ordinal.compareTo(other.ordinal)
override fun equals(other: Any?) = this === other
final override fun equals(other: Any?) = this === other
override fun hashCode(): Int = identityHashCode(this)
final override fun hashCode(): Int = identityHashCode(this)
override fun toString() = name