Created by: v-jizhang
Summary
- When buck using external kotlinc, it encounters an internal error: "AddToRuleKey can only be applied to methods of Immutables." That's because ExternalKotlinc is not Immutableand AddToRuleKey can't be applied to one of its methods.
- The fix is to apply AddToRuleKey to a private field instead.