Report 'nested class accessed via instance reference' error
Record reference to class object directly
not to containing class descriptor
Refactoring in PositionStrategies: added markRange(from, to)
Small improvements in error reporting
Position error on 'class A' or 'object A' instead of name identifier only
Prohibit local objects and enum classes
  #KT-5402 Fixed
  #KT-4838 Fixed

Resolve type of object inside local object as special, not supertype('Any').
Changed visibility of constructor of anonymous object to 'internal' to be able to resolve the following:
fun box(): String {
    var foo = object {
        val bar = object {
            val baz = "ok"
        }
    }
    return foo.bar.baz
}
The containing declaration of property initializers is constructor, so 'baz' was invisible inside private constructor.