diff options
author | 2016-07-01 21:17:42 +0000 | |
---|---|---|
committer | 2016-07-04 07:19:18 +0000 | |
commit | 073d2fd4ae47254aacf43dfdbac463828b7729a2 (patch) | |
tree | 94da58a0cfc8a53754c12be770733656b419925e /src/main/java/com/google/devtools/build/lib/query2 | |
parent | bc1ff69be434da258b2ef24fda3d4290e0a66d75 (diff) |
Skylark: Removed support for attribute map parameters in callback functions.
Such functions have to list their required attributes as parameters.
def _callback_func(attr_map):
do_something(attr_map.my_attr)
becomes
def _callback_func(my_attr):
do_something(my_attr)
RELNOTES[INC]:Skylark rules: if you set "outputs" or an attribute to a function, this function must now list its required attributes as parameters (instead of an attribute map).
--
MOS_MIGRATED_REVID=126445849
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2')
0 files changed, 0 insertions, 0 deletions