diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-03 17:23:15 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-03-03 17:23:15 +0100 |
commit | 18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595 (patch) | |
tree | 29ba57c7469eb5b53eb1159238ef2778d58db76b /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 92a4fefe58cfe4c1bcccc8f98183079a553d477a (diff) | |
download | dotty-18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595.tar.gz dotty-18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595.tar.bz2 dotty-18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595.zip |
More informative asserts.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index ebe52d522..5fbf6c2c4 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -754,7 +754,7 @@ object SymDenotations { // ----- denotation fields and accessors ------------------------------ - if (initFlags is (Module, butNot = Package)) assert(name.isModuleClassName) + if (initFlags is (Module, butNot = Package)) assert(name.isModuleClassName, s"module naming inconsistency: $name") /** The symbol asserted to have type ClassSymbol */ def classSymbol: ClassSymbol = symbol.asInstanceOf[ClassSymbol] |