Remove JetScopeAdapter

This commit is contained in:
Alexander Udalov
2014-07-06 17:08:04 +04:00
parent 64512ae87b
commit e502d8dcc6
3 changed files with 17 additions and 37 deletions
@@ -547,7 +547,13 @@ public class JetTypeCheckerTest extends JetLiteFixture {
private void assertType(String contextType, final String expression, String expectedType) {
final JetType thisType = makeType(contextType);
JetScope scope = new JetScopeAdapter(scopeWithImports) {
JetScope scope = new AbstractScopeAdapter() {
@NotNull
@Override
protected JetScope getWorkerScope() {
return scopeWithImports;
}
@NotNull
@Override
public List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy() {