title: Getting error: Wrong top statement declaration in Scala
body: <p>Boundary.scala and World.scala are both giving me wrong top statement declaration error in Scala. What can I do to fix this?</p>
  
  <p>Boundary.scala</p>
  
  <pre><code>package physics
  
  class ​Boundary(​var ​start: PhysicsVector, ​var ​end: PhysicsVector){
  
  }
  </code></pre>
  
  <p>World.scala</p>
  
  <pre><code>package ​physics
  
  class ​World(​var ​gravity: Double) {​
  var ​objects​: ​List​[PhysicalObject] = ​List​()​
  var ​boundaries​: ​List​[Boundary] = ​List​()
  }
  </code></pre>