2023 07 26
2023-07-26
Scala Enumeration Duplication
java.lang.AssertionError: assertion failed: Duplicate id: 231
at scala.Enumeration$Val.<init>(Enumeration.scala:254)
at scala.Enumeration$Val.<init>(Enumeration.scala:251)
- Enumerations
- if you have an enumeration in your code, it's possible that you are trying to create a new enumeration value with an ID that already exists.
- Enumerations in Scala should have unique values, and if you attempt to create a duplicate, it could trigger this assertion error.
- preventGoBack
- history API
- window
- location
- addEventListener
- removeEventListener
JS 함수 종류
JS let, const, var
JS async, await, promise
Batch