I can the require method in Scala's Predef class with a String as second argument, e.g.
require ("foo" == "bar", "foobar")
First a thought the require method is overloaded for different parameters as second argument. But it is not. The Signature of the require method (Scala 2.9.1) is:
require(requirement: Boolean, message: ⇒ Any): Unit
Why is the above method call possible ?