title: Scala object and trait having same name
body: <p>In Scala, a class and an object can be companion(same name, same file)</p>
  
  <p>I came across Scala source code, with a file having a trait and object defined in it and both having same name, but object is not extending trait. </p>
  
  <p>Is this style ok?</p>