fix: upgrade ALCops.Analyzers to v0.8.6 (resolves #10)#11
Merged
Conversation
Resolves #10 — LinterCop analyzer crashed with MissingMethodException when the AL Language extension provides newer BC DevTools than what ALCops.Analyzers v0.5.0 was compiled against. The reflection-based wrapper for QuoteIdentifierIfNeeded was introduced in v0.6.0+. - Bump ALCops.Analyzers from 0.5.0 to 0.8.6 - Log AD0001 (analyzer crash) diagnostics to stderr for debugging while still including them in results - Log BC DevTools version at startup for easier triage - Add Dependabot config scoped to ALCops.Analyzers Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
QuoteIdentifierIfNeeded(string)directly on the BC DevTools SDK; when the AL Language extension provides a newer DevTools version with a different signature, aMissingMethodExceptionis thrown. v0.6.0+ introduced a reflection-based wrapper that handles both signatures.ALCops.Analyzers— auto-creates PRs when new versions are published, so we don't fall behind again.Closes #10
Test plan
dotnet build— compiles cleanlydotnet test— all 4 existing tests pass🤖 Generated with Claude Code