Skip to content

Instantly share code, notes, and snippets.

@mirokolodii
Created October 18, 2019 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirokolodii/7fcc796311c15db2d2d9bc149a56377a to your computer and use it in GitHub Desktop.
Save mirokolodii/7fcc796311c15db2d2d9bc149a56377a to your computer and use it in GitHub Desktop.
Switch to Kotlin #2.6
Integer intObj = null;
int primitiveInt;
primitiveInt = intObj; // NullPointerException during unboxing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment