Created
August 4, 2017 16:28
-
-
Save joshskeen/c99d4e6c4a0b715090da62fd7f1b1c36 to your computer and use it in GitHub Desktop.
import alias within same file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import main.Yep.uniqueName as myMagic | |
fun main(args: Array<String>) { | |
myMagic() | |
} | |
object Yep { | |
fun uniqueName() { | |
println("unique!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment