Title: NRE in GetBodyStartIndex · Issue #1194 · microsoft/python-language-server · GitHub
Open Graph Title: NRE in GetBodyStartIndex · Issue #1194 · microsoft/python-language-server
X Title: NRE in GetBodyStartIndex · Issue #1194 · microsoft/python-language-server
Description: Microsoft.Python.Analysis.Analyzer.ScopeExtensions.GetBodyStartIndex(IScope) in Analysis\Ast\Impl\Extensions\ScopeExtensions.cs:line 31 Microsoft.Python.Analysis.Analyzer.ScopeExtensions.FindScope(IScope, IDocument, SourceLocation) in An...
Open Graph Description: Microsoft.Python.Analysis.Analyzer.ScopeExtensions.GetBodyStartIndex(IScope) in Analysis\Ast\Impl\Extensions\ScopeExtensions.cs:line 31 Microsoft.Python.Analysis.Analyzer.ScopeExtensions.FindScope(...
X Description: Microsoft.Python.Analysis.Analyzer.ScopeExtensions.GetBodyStartIndex(IScope) in Analysis\Ast\Impl\Extensions\ScopeExtensions.cs:line 31 Microsoft.Python.Analysis.Analyzer.ScopeExtensions.FindScope(...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1194
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NRE in GetBodyStartIndex","articleBody":"```\r\nMicrosoft.Python.Analysis.Analyzer.ScopeExtensions.GetBodyStartIndex(IScope) in Analysis\\Ast\\Impl\\Extensions\\ScopeExtensions.cs:line 31\r\nMicrosoft.Python.Analysis.Analyzer.ScopeExtensions.FindScope(IScope, IDocument, SourceLocation) in Analysis\\Ast\\Impl\\Extensions\\ScopeExtensions.cs:line 45\r\nMicrosoft.Python.LanguageServer.Completion.TopLevelCompletion.GetCompletions(Node, ScopeStatement, CompletionContext) in LanguageServer\\Impl\\Completion\\TopLevelCompletion.cs:line 38\r\nMicrosoft.Python.LanguageServer.Completion.CompletionSource.GetCompletions(IDocumentAnalysis, SourceLocation) in LanguageServer\\Impl\\Completion\\CompletionSource.cs:line 91\r\nMicrosoft.Python.LanguageServer.Implementation.Server.Completion(CompletionParams, CancellationToken) in E:\\A\\_work\\594\\s\\src\\LanguageServer\\Impl\\Implementati\r\n```\r\n\r\n`scope.Node` is null (the scope is not, or the NRE would have happened earlier in `FindScope`).","author":{"url":"https://github.com/jakebailey","@type":"Person","name":"jakebailey"},"datePublished":"2019-06-10T18:56:46Z","url":"https://github.com/microsoft/python-language-server/issues/1194"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6d404047-506b-bf60-c99f-6d0384fe171b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C868:308F56:1DB72F:273C83:6AFE57E0 |
| html-safe-nonce | 6da97bad9c0a52ebdc047bee351cefc1964741a1a43bbcb863bc6db7e714fa3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODY4OjMwOEY1NjoxREI3MkY6MjczQzgzOjZBRkU1N0UwIiwidmlzaXRvcl9pZCI6IjY4MDA0MTczNDAxMzIzMTcxNTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 61b6b5d0aa6284eae581eec65eb3b1b625827882720e754e5572dda15edff162 |
| hovercard-subject-tag | issue:454318562 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1194/issue_layout |
| twitter:image | https://opengraph.githubassets.com/97ad9f1ccd9592aa2741cda0d90ebebb267554b25ae65c24f2dfd337403d720e/microsoft/python-language-server/issues/1194 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/97ad9f1ccd9592aa2741cda0d90ebebb267554b25ae65c24f2dfd337403d720e/microsoft/python-language-server/issues/1194 |
| og:image:alt | Microsoft.Python.Analysis.Analyzer.ScopeExtensions.GetBodyStartIndex(IScope) in Analysis\Ast\Impl\Extensions\ScopeExtensions.cs:line 31 Microsoft.Python.Analysis.Analyzer.ScopeExtensions.FindScope(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakebailey |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width