Aladdin - Scala Bugtracking
[#272] project: specification priority: medium category: feature
submitter assigned to status date submitted
Nikolay Martin won't fix 2004-01-12 11:48:57.0
subject 'scala' namespace clash
code
package test.scala;
// package test.scala.test1.test2; //same error 
// package scala.test; //OK

object myTest {}
what happened
various/scala_namespace_test.scala:3: type AnyRef is not a member of test.scala
object myTest {}
              ^
what expected Silent compilation;
[back to overview]
Changes of this bug report
Martin  edited on  2004-01-12 14:35:15.0
It's a feature. According to Scala's scope rules, package test.scala hides package scala.
Martin  edited on  2004-01-12 14:35:35.0