diff options
author | Martin Odersky <odersky@gmail.com> | 2015-06-27 17:53:52 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-27 17:53:52 +0200 |
commit | 1510db96e56ed2fd18fafd1ce1aa411ad282ce28 (patch) | |
tree | ababd7407a7a3980481c2c08b5c9429ac84cfb49 /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | a5eae5a79212f76c8a8ad3e4ea39ce0bb3302b9e (diff) | |
download | dotty-1510db96e56ed2fd18fafd1ce1aa411ad282ce28.tar.gz dotty-1510db96e56ed2fd18fafd1ce1aa411ad282ce28.tar.bz2 dotty-1510db96e56ed2fd18fafd1ce1aa411ad282ce28.zip |
Add comment
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 78b187970..164b0b8f3 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1632,7 +1632,7 @@ object SymDenotations { override def primaryConstructor(implicit ctx: Context): Symbol = { def constrNamed(cname: TermName) = info.decls.denotsNamed(cname).last.symbol // denotsNamed returns Symbols in reverse order of occurrence - if (this.is(ImplClass)) constrNamed(nme.TRAIT_CONSTRUCTOR) + if (this.is(ImplClass)) constrNamed(nme.TRAIT_CONSTRUCTOR) // ignore normal constructor else constrNamed(nme.CONSTRUCTOR).orElse(constrNamed(nme.TRAIT_CONSTRUCTOR)) } |