JetScope.Empty must be public
This commit is contained in:
@@ -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")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user