Skip to content

Commit a2148c2

Browse files
Philippe Bidingermeta-codesync[bot]
authored andcommitted
more test
Summary: Currently, we don't interpret string literal as file paths or buck target outside of buck build rules, but they do appear in a variety of places in the codebase (for instance in constants in [bzl files](https://www.internalfb.com/code/fbsource/[3dabff0fa10b]/fbcode/aim/fbje/handlers/nowa/codegen/buck_macros.bzl?lines=12)) adding test case first, indexing in next diff Reviewed By: malanka Differential Revision: D84832445 fbshipit-source-id: a99b73ebddd85b33cd28d62e72f69df4844dbc4c
1 parent 3e070e3 commit a2148c2

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

glean/glass/test/regression/tests/buck/documentSymbolIndex_my_defs.out

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"referenced_file_digests": {},
55
"revision": "testhash",
6-
"size": 7,
6+
"size": 8,
77
"symbols": {
88
"1": [
99
{
@@ -115,6 +115,31 @@
115115
"sym": "test/buck/d/buck_project/my_defs.bzl/MY_CONST"
116116
}
117117
],
118+
"20": [
119+
{
120+
"attributes": {
121+
"symbolKind": {
122+
"aInteger": 3
123+
},
124+
"symbolLanguage": {
125+
"aInteger": 11
126+
},
127+
"symbolName": {
128+
"aString": "MY_LIST"
129+
},
130+
"symbolParent": {
131+
"aString": "buck_project/my_defs.bzl"
132+
}
133+
},
134+
"range": {
135+
"columnBegin": 1,
136+
"columnEnd": 56,
137+
"lineBegin": 20,
138+
"lineEnd": 20
139+
},
140+
"sym": "test/buck/d/buck_project/my_defs.bzl/MY_LIST"
141+
}
142+
],
118143
"3": [
119144
{
120145
"attributes": {

0 commit comments

Comments
 (0)