commit | 16d4fb60dd03fe84f50a96d42db6180a286fc3db | [log] [tgz] |
---|---|---|
author | cushon <cushon@google.com> | Mon Oct 31 16:55:45 2016 -0700 |
committer | Liam Miller-Cushon <cushon@google.com> | Mon Oct 31 20:15:18 2016 -0700 |
tree | a4e0398d7a0f57ba2a7da81c996841a1778cdda5 | |
parent | bb2c7ddc1f20cd6063f353046a8bd2ec413066cf [diff] |
Fix scope handling during annotation binding When binding annotations on a class declaration, members of that class are not in scope (e.g. for use as class literals in annotation element values). Keep track of the scope that encloses class declaration in addition to the class member scope, and use the former when binding annotations on the class. MOE_MIGRATED_REVID=137767162