Codebase list ohcount / debian/latest test / src_dir / kotlin.kt
debian/latest

Tree @debian/latest (Download .tar.gz)

kotlin.kt @debian/latestraw · history · blame

// Line comment
fun sum(a : Double, b : Double) : Double { 
  return a + b 
}

/*
 * Block comment
 */

fun hello(place : String) : Unit {
    print("Hello, \"$place\"\n")
}

/*
 * /*
 *  * Block comments nest
 *  */
 */

fun main() : Unit {
    hello("""Very, very, very
             // long place
             somewhere""")
}