title: Scala: default value in case class constructor doesn't work
body: <p>I'm creating a case class with default-valued constructor:</p>
  
  <pre><code>abstract class Interaction extends Action
  case class Visit(val url: String)(val timer: Boolean = false) extends Interaction
  </code></pre>
  
  <p>But I cannot create any of its instance without using all of its parameters, for example. If I write:</p>
  
  <pre><code>Visit("https://www.linkedin.com/")
  </code></pre>
  
  <p>The compiler will complain:</p>
  
  <pre><code>missing arguments for method apply in object Visit;
  follow this method with `_' if you want to treat it as a partially applied function
  [ERROR]     Visit("http://www.google.com")
  </code></pre>
  
  <p>What do I need to do to fix it?</p>