Write proper enclosingMethod/enclosingClass information to bytecode
New diagnostic error for ambiguous object expression type
Test fixes for 'New diagnostic error for ambiguous object expression type'