Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)MM
MMauro @feddit.it
Posts 0
Comments 6
When you manage to break the type system
  • Uh. Probably not exactly your case, but I managed to "reproduce" them.

    The first case is easy if you just override the setter of a property, and is more a feature of the language rather than a bug.

    The second case is more tricky, but by using a generic delegate you can manage to trick it by doing an unchecked cast. Got the same warning in IntelliJ as well.

    Link: https://pl.kotl.in/pIt-uHw7d