Skip to content

Instantly share code, notes, and snippets.

@throughnothing
Last active March 15, 2017 22:47
Show Gist options
  • Save throughnothing/96ebdf6375fc4e337bdfc280634d5290 to your computer and use it in GitHub Desktop.
Save throughnothing/96ebdf6375fc4e337bdfc280634d5290 to your computer and use it in GitHub Desktop.
Scala Type Weirdness
object HelloWorld {
def main(args: Array[String]) {
hi('a')
}
def hi(num: Int): Int = {
println("test: " + num)
return num
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment