Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SA1135UsingDirectivesMustBeQualified to not crash on a UsingDirectiveSyntax without a Name #3883

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjornhellander
Copy link
Contributor

Fixes #3882.

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.45%. Comparing base (ff5c432) to head (ea5e0d9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3883   +/-   ##
=======================================
  Coverage   97.45%   97.45%           
=======================================
  Files         926      927    +1     
  Lines      110237   110265   +28     
  Branches     3315     3316    +1     
=======================================
+ Hits       107433   107461   +28     
  Misses       1837     1837           
  Partials      967      967           

@bjornhellander bjornhellander force-pushed the feature/sa1135-using-type-alias branch from d4b0351 to ea5e0d9 Compare August 6, 2024 07:54
@bjornhellander
Copy link
Contributor Author

So far, this pull request only prevents the exception. I assume that the analyzer should also be updated to check all the new types of aliases that can be created now. I have started looking at that as well, but it seems to be less trivial. Would it be ok to save that for another pull request if I create a separate issue for that, @sharwell?

@bjornhellander bjornhellander marked this pull request as ready for review August 6, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SA1135 throws exception for type keywords
1 participant