- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Package or not?
Wed, 2009-05-06, 18:47
Hello,
I have a question for using packages in the Eclipse Scala PlugIn:
In "The Scala Language Specification Version 2.7", Chapter 9.1 is the following sentence: "A compilation unit consists of a sequence of packagings, import clauses, and class and object definitions, whichmay be preceded by a package clause."
But when I try to create a new class or object without choosing a package in the plugin I get the error message "Must select an existing package.".
What is it: A mistake in the specification or a bug in the plugin?
Thanks for any answers!
Chris.