Add addOwnDataTo() to BindingContext

This commit is contained in:
Nikolay Krasko
2015-06-29 17:22:33 +03:00
parent 083023211e
commit 09bb050c3f
8 changed files with 67 additions and 22 deletions
@@ -150,6 +150,11 @@ public class JetTestUtils {
public JetType getType(@NotNull JetExpression expression) {
return DUMMY_TRACE.getType(expression);
}
@Override
public void addOwnDataTo(@NotNull BindingTrace trace, boolean commitDiagnostics) {
// do nothing
}
};
}
@@ -228,6 +233,11 @@ public class JetTestUtils {
public JetType getType(@NotNull JetExpression expression) {
return DUMMY_EXCEPTION_ON_ERROR_TRACE.getType(expression);
}
@Override
public void addOwnDataTo(@NotNull BindingTrace trace, boolean commitDiagnostics) {
// do nothing
}
};
}