Skip to content

Commit f0e6f71

Browse files
Rename resource
1 parent f75b771 commit f0e6f71

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/common/src/scopeSupportFacets/python.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const pythonScopeSupport: LanguageScopeSupportFacetMap = {
4848
"interior.switchCase": supported,
4949
"interior.ternary": supported,
5050
"interior.loop": supported,
51-
"interior.with": supported,
51+
"interior.resource": supported,
5252

5353
element: notApplicable,
5454
tags: notApplicable,

packages/common/src/scopeSupportFacets/scopeSupportFacetInfos.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,8 @@ export const scopeSupportFacetInfos: Record<
749749
description: "The body of an for/while loop",
750750
scopeType: { type: "interior" },
751751
},
752-
"interior.with": {
753-
description: "The body of an with/use/using statement",
752+
"interior.resource": {
753+
description: "the body of a 'with' / 'use' / 'using' statement",
754754
scopeType: { type: "interior" },
755755
},
756756

packages/common/src/scopeSupportFacets/scopeSupportFacets.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const scopeSupportFacets = [
185185
"interior.switchCase",
186186
"interior.ternary",
187187
"interior.loop",
188-
"interior.with",
188+
"interior.resource",
189189

190190
"notebookCell",
191191

0 commit comments

Comments
 (0)