aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/skylark/testenv.py
diff options
context:
space:
mode:
authorGravatar asteinb <asteinb@google.com>2018-05-18 08:21:39 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-18 08:23:05 -0700
commitb82db7801f9e21ec0488ba0cd211b6a03460de0e (patch)
treeabf22d6c9db2a3a1be253e124487e647dbde6fd3 /src/test/skylark/testenv.py
parent2d8dced12b2f82e78ac65f44aa5e8ce1ecb52372 (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/skylark/testenv.py')
0 files changed, 0 insertions, 0 deletions