Skip to content

Lint const_get to not inherit scope (2nd arg false)

Thong Kuah requested to merge const_get_false into master

What does this MR do?

Continued from gitlab-foss!28458 (closed)

  • Adds lint that usages of const_get should pass false as 2nd arg
  • Auto-corrects existing usages

This prevents confusing behaviour as described in #27678 (closed)

Implements #33846 (closed)

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports