Fix problem with initialization order in ClassToAPI.scala.

In `ClassToAPI` both `Private` and `Protected` vals had forward
reference to `Unqualified` so they would get `null` as a result.
Fixed that by rearranging the order of vals being declared.

This fixes a problem described in 9dd5f076ea.
This commit is contained in:
Grzegorz Kossakowski
2013-02-22 07:36:55 -05:00
committed by Mark Harrah
parent 76ebc3a01d
commit 129df3e812
@@ -256,9 +256,9 @@ object ClassToAPI
val ThisRef = new api.This
val Public = new api.Public
val Unqualified = new api.Unqualified
val Private = new api.Private(Unqualified)
val Protected = new api.Protected(Unqualified)
val Unqualified = new api.Unqualified
def packagePrivate(pkg: Option[String]): api.Access = new api.Private(new api.IdQualifier(pkg getOrElse ""))
val ArrayRef = reference("scala.Array")