We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec8f84 commit cd27ba8Copy full SHA for cd27ba8
1 file changed
sources/SilkTouch/SilkTouch/Mods/ExtractNestedTyping.cs
@@ -365,6 +365,14 @@ public Dictionary<IErrorTypeSymbol, string> GetMissingHandleTypes()
365
isSuccess = true;
366
}
367
368
+ break;
369
+ }
370
+ case AttributeSyntax:
371
+ {
372
+ // Skip AttributeSyntaxes
373
+ // A handle type will never be used as an attribute
374
+ isSuccess = true;
375
+
376
break;
377
378
@@ -374,8 +382,6 @@ public Dictionary<IErrorTypeSymbol, string> GetMissingHandleTypes()
382
383
if (!isSuccess)
384
{
- // TODO: AttributeSyntaxes are currently not handled properly
-
379
385
// This is to warn of unhandled cases
380
386
logger.LogWarning("Failed to find corresponding symbol for type error. There may be an unhandled case in the code");
381
387
0 commit comments