René's URL Explorer Experiment


Title: Allow TypeNotFound parser errors by bergmeister · Pull Request #957 · PowerShell/PSScriptAnalyzer · GitHub

Open Graph Title: Allow TypeNotFound parser errors by bergmeister · Pull Request #957 · PowerShell/PSScriptAnalyzer

X Title: Allow TypeNotFound parser errors by bergmeister · Pull Request #957 · PowerShell/PSScriptAnalyzer

Description: PR Summary Fixes #850 Some Types can not be known in some cases (e.g. due to using statements because the parser does not load anything by design), therefore those TypeNotFound parser errors are being ignored, since the AST can still be parsed. Thanks to Rob Holt (@rjmholt) for helping with parser related questions. PR Checklist Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets. Please mark anything not applicable to this PR NA. PR has a meaningful title Use the present tense and imperative mood when describing your changes Summarized changes User facing documentation needed Change is not breaking Make sure you've added a new test if existing tests do not effectively test the code changed This PR is ready to merge and is not work in progress If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

Open Graph Description: PR Summary Fixes #850 Some Types can not be known in some cases (e.g. due to using statements because the parser does not load anything by design), therefore those TypeNotFound parser errors are be...

X Description: PR Summary Fixes #850 Some Types can not be known in some cases (e.g. due to using statements because the parser does not load anything by design), therefore those TypeNotFound parser errors are be...

Opengraph URL: https://github.com/PowerShell/PSScriptAnalyzer/pull/957

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:81adbc5c-1810-0091-7d6e-dd8462322c7a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD64C:1A06F7:CB0F6:11D8F8:6AFDB8E3
html-safe-noncee05e3bf274ac9c436508a3f1ce48b981ac2e2513723c72fb3e4e7384c3959f7f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjRDOjFBMDZGNzpDQjBGNjoxMUQ4Rjg6NkFGREI4RTMiLCJ2aXNpdG9yX2lkIjoiNDExNzA5MzQzNDg0NDM2Mjk3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac161d91c85b67537a9d879b8ce454b9afb4cc2a8df716eecefdfd750dc3a1e0be
hovercard-subject-tagpull_request:178691227
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
twitter:imagehttps://avatars.githubusercontent.com/u/9250262?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9250262?s=400&v=4
og:image:altPR Summary Fixes #850 Some Types can not be known in some cases (e.g. due to using statements because the parser does not load anything by design), therefore those TypeNotFound parser errors are be...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/PowerShell/PSScriptAnalyzer git https://github.com/PowerShell/PSScriptAnalyzer.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id33149177
octolytics-dimension-repository_nwoPowerShell/PSScriptAnalyzer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33149177
octolytics-dimension-repository_network_root_nwoPowerShell/PSScriptAnalyzer
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2f7154d847f1ddc5baa83b109a3e1d924605e2a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F957%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPSScriptAnalyzer%2Fpull%2F957%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPSScriptAnalyzer
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Reloadhttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
PowerShellhttps://github.com/PowerShell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
Codehttps://github.com/PowerShell/PSScriptAnalyzer
Issues407 (407)https://github.com/PowerShell/PSScriptAnalyzer/issues
Pull requests35 (35)https://github.com/PowerShell/PSScriptAnalyzer/pulls
Discussionshttps://github.com/PowerShell/PSScriptAnalyzer/discussions
Actionshttps://github.com/PowerShell/PSScriptAnalyzer/actions
Projectshttps://github.com/PowerShell/PSScriptAnalyzer/projects
Wikihttps://github.com/PowerShell/PSScriptAnalyzer/wiki
Security and qualityhttps://github.com/PowerShell/PSScriptAnalyzer/security
Insightshttps://github.com/PowerShell/PSScriptAnalyzer/insights
Sign up for GitHub https://github.com/signup?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FPowerShell%2FPSScriptAnalyzer%2Fissues%2Fnew%2Fchoose
James Truher (JamesWTruher)https://github.com/JamesWTruher
PowerShell:developmenthttps://github.com/PowerShell/PSScriptAnalyzer/tree/development
bergmeister:AllowTypeNotFoundParserErrorshttps://github.com/bergmeister/PSScriptAnalyzer/tree/AllowTypeNotFoundParserErrors
Conversation 17 https://github.com/PowerShell/PSScriptAnalyzer/pull/957
Commits 21 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits
Checks 0 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/checks
Files changed https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Allow TypeNotFound parser errors https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#top
Show all changes 21 commits https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
fd787e1 Trim out TypeNotFoundParseErrors. bergmeister Mar 31, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/fd787e114f2de739addcdd9aee62a8560fbdf144
5d2f5d4 Add verbose logging and test bergmeister Mar 31, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/5d2f5d4090b0a0f36d0098af2379edf9a9573f52
8a2826e fix test syntax bergmeister Mar 31, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/8a2826ebb3b98450cfa6f78bfd6158c989d92d96
a24e185 add test for -path parameter set bergmeister Mar 31, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/a24e185790fe0c9531eab67d558f22576a21a657
bc31332 use pester test drive bergmeister Mar 31, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/bc3133267e14a62aca7d1244f65f352ac2c898b8
e4dc844 fix tests to not run in library usage session bergmeister Mar 31, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/e4dc844d367bcc7e9cdf38e144cd92d435f34415
d54d531 Address PR comments about additional assertion and xml comment bergmeister Apr 5, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/d54d53199ea69ad00ef27dbd0485f0e495c5e603
d80ba89 Merge branch 'development' of https://github.com/PowerShell/PSScriptA… bergmeister Apr 5, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/d80ba89a861613e32e6c18167d0f989f528d4428
0575548 Remove unused dotnet-core NuGet feed that caused build failure due to… bergmeister Apr 5, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/057554801063e66b795f8096b458d102609d6bee
b639486 Merge branch 'development' of https://github.com/PowerShell/PSScriptA… bergmeister Apr 5, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/b639486278430c85702a42d52f9656c8205734bd
817a99f Merge branch 'development' of https://github.com/PowerShell/PSScriptA… bergmeister Apr 5, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/817a99f00968ff8422c0aaa264cf5f8344825f34
ae63e6a Merge branch 'development' of https://github.com/PowerShell/PSScriptA… bergmeister Apr 9, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/ae63e6aa2887b4b188caff66dc6b7b9ed728aa4a
3564b8e Fix typo and move string into resources bergmeister Apr 9, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/3564b8eb15113235111db8ac16e07da77a6453c9
321582e fix compilation error (forgot to check-in file) bergmeister Apr 9, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/321582e6698296d4deed2078e7f77a5c08e99f18
e8a91ad Merge branch 'development' of https://github.com/PowerShell/PSScriptA… bergmeister Apr 9, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/e8a91ada0bb6d03ae9a34914f33ba44abd48162e
259a730 fix typo to also build for psv3 bergmeister Apr 10, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/259a730e3ad84d22ae7b7141478c32553b90b5b1
897e426 Since the using statement was introduced only inn v5, move to block t… bergmeister Apr 10, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/897e4268f905f0081db9c036565bb7d4a7619b62
3201b9a fix tests by moving the tests (clearly a smell that something is wron… bergmeister Apr 10, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/3201b9adaebeca490a90fc24757eb3cbf4b3b25f
9792f96 write warning on parse errors instead of verbose output and tweak mes… bergmeister Apr 10, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/9792f96b614b95f0a6a455beb5a1b284d8e144e0
9636d43 instead of returning a warning, return a diagnostic record with a cus… bergmeister Apr 11, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/9636d4347795b4b9456f1526be9aa71913a902f4
2b44732 poke build due to sporadic AppVeyor failure on setup (not a test) -> … bergmeister Apr 11, 2018 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/commits/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35
Clear filters https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
ScriptAnalyzer.cs https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
Strings.Designer.cs https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-293b49940dbba6c689aed48c0b881a26d7b72718e0d73439857b0779d2dec39f
Strings.resx https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-5ebe9c663a63162f460a9f3b7560cd498ed06ece2b6a47534fa5cb39164ab5e3
NuGet.Config https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-b54ee602750f150b3d4986e0334cc3ec901d47510560e26e792e8d294ab6f37a
InvokeScriptAnalyzer.tests.ps1 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dfc93f2c6f590bf681736728b9a79093ac4ab79ee06f5006c199876228200ccc
appveyor.psm1 https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dc48acb16cdba1b5d356b3036a474edd1aad289ef74c0d5dad04737767434af7
Engine/ScriptAnalyzer.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
View file https://github.com/bergmeister/PSScriptAnalyzer/blob/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35/Engine/ScriptAnalyzer.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-111e1a18ba64b4ef55b1a611b6808a8671d79cbd45b9612229caa2a9cd2b27f3
Engine/Strings.Designer.cshttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-293b49940dbba6c689aed48c0b881a26d7b72718e0d73439857b0779d2dec39f
View file https://github.com/bergmeister/PSScriptAnalyzer/blob/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35/Engine/Strings.Designer.cs
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files
Engine/Strings.resxhttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-5ebe9c663a63162f460a9f3b7560cd498ed06ece2b6a47534fa5cb39164ab5e3
View file https://github.com/bergmeister/PSScriptAnalyzer/blob/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35/Engine/Strings.resx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-5ebe9c663a63162f460a9f3b7560cd498ed06ece2b6a47534fa5cb39164ab5e3
NuGet.Confighttps://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-b54ee602750f150b3d4986e0334cc3ec901d47510560e26e792e8d294ab6f37a
View file https://github.com/bergmeister/PSScriptAnalyzer/blob/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35/NuGet.Config
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-b54ee602750f150b3d4986e0334cc3ec901d47510560e26e792e8d294ab6f37a
Tests/Engine/InvokeScriptAnalyzer.tests.ps1https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dfc93f2c6f590bf681736728b9a79093ac4ab79ee06f5006c199876228200ccc
View file https://github.com/bergmeister/PSScriptAnalyzer/blob/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35/Tests/Engine/InvokeScriptAnalyzer.tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dfc93f2c6f590bf681736728b9a79093ac4ab79ee06f5006c199876228200ccc
tools/appveyor.psm1https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dc48acb16cdba1b5d356b3036a474edd1aad289ef74c0d5dad04737767434af7
View file https://github.com/bergmeister/PSScriptAnalyzer/blob/2b4473277ffaaeca2ff874ccbb977cd5f8f00c35/tools/appveyor.psm1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/{{ revealButtonHref }}
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dc48acb16cdba1b5d356b3036a474edd1aad289ef74c0d5dad04737767434af7
https://github.com/PowerShell/PSScriptAnalyzer/pull/957/files#diff-dc48acb16cdba1b5d356b3036a474edd1aad289ef74c0d5dad04737767434af7
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.