Skip to content

Instantly share code, notes, and snippets.

@Sottti
Last active November 29, 2018 07:10
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 Sottti/0b35fc04307a04f15923078248f4ce23 to your computer and use it in GitHub Desktop.
Save Sottti/0b35fc04307a04f15923078248f4ce23 to your computer and use it in GitHub Desktop.
// DifferentModule.kt file
// ERROR: numberThree is not visible because this file is in a different module than Internal.kt
// ERROR: numberEight is not visible because User() is in a different module than Internal.kt
private const val numberEleven = numberThree.plus(User().numberEight)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment