Scala/test/files/scalap/defaultParameter.scala

4 lines
64 B
Scala
Raw Normal View History

2010-03-02 02:37:55 +08:00
trait DefaultParameter {
2010-03-01 22:51:38 +08:00
def foo(s: String = "hello"): Unit
}