JetScope.Empty must be public

This commit is contained in:
Valentin Kipyatkov
2014-11-05 17:16:13 +03:00
parent c040c53f51
commit 4ca6c611f8
@@ -65,7 +65,7 @@ public trait JetScope {
*/ */
public fun printScopeStructure(p: Printer) public fun printScopeStructure(p: Printer)
object Empty : JetScopeImpl() { public object Empty : JetScopeImpl() {
override fun getContainingDeclaration(): DeclarationDescriptor { override fun getContainingDeclaration(): DeclarationDescriptor {
throw UnsupportedOperationException("Don't take containing declaration of the Empty scope") throw UnsupportedOperationException("Don't take containing declaration of the Empty scope")
} }