diff options
author | asteinb <asteinb@google.com> | 2018-05-18 08:21:39 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-05-18 08:23:05 -0700 |
commit | b82db7801f9e21ec0488ba0cd211b6a03460de0e (patch) | |
tree | abf22d6c9db2a3a1be253e124487e647dbde6fd3 /src/test | |
parent | 2d8dced12b2f82e78ac65f44aa5e8ce1ecb52372 (diff) |
Fork RuleContext.ErrorReporter to create a Skylark-friendly RuleErrorConsumer
The new error consumer is simple to create from @SkylarkCallable methods, so we
won't need to pass SkylarkRuleContext into those methods for that reason
anymore.
Create a new abstract class, rather than expand the existing
AbstractRuleErrorConsumer class, since the latter is already being extended and
used in a variety of tests, and I prefer not to have to migrate all of them as
needed. Add Javadoc to make clear that this class should not be used similarly.
RELNOTES: none
PiperOrigin-RevId: 197148849
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions