Skip to content
Snippets Groups Projects
Unverified Commit 98f8b2e2 authored by Alexandre Rostovtsev's avatar Alexandre Rostovtsev Committed by GitHub
Browse files

[8.2.0] Set macro symbol's exported location as MacroFunction's callable...

[8.2.0] Set macro symbol's exported location as MacroFunction's callable location for Starlark stack (#25802)

This ensures Starlark instantiation stack for rule targets defined in a
symbolic macro shows both the macro's location and symbol.

Requires changing StarlarkThread to track the location of where symbols
are exported.

As follow-up, we should do the same for rules, providers, and aspects.

PiperOrigin-RevId: 745731053
Change-Id: I6732a9762fbc932d823a70d7753a2b6edc140df6

Commit

https://github.com/bazelbuild/bazel/commit/a3e26ed827badf6c4cf4f09aa37747622357635c
parent 22c782de
No related merge requests found
Showing
with 72 additions and 22 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment