Skip to content

Commit

Permalink
Version 3.5.0-179.0.dev
Browse files Browse the repository at this point in the history
Merge bd8f87d into dev
  • Loading branch information
Dart CI committed May 22, 2024
2 parents fca7dd7 + bd8f87d commit 8e6839f
Show file tree
Hide file tree
Showing 16 changed files with 205 additions and 406 deletions.
7 changes: 0 additions & 7 deletions docs/Building.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
> [!IMPORTANT]
> This page was copied from https://github.com/dart-lang/sdk/wiki and needs review.
> Please [contribute](../CONTRIBUTING.md) changes to bring it up-to-date -
> removing this header - or send a CL to delete the file.
---

[Dependencies](#dependencies)

[Getting the source](#source)
Expand Down
185 changes: 0 additions & 185 deletions docs/Chrome-63-Dart-Web-Libraries.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/Commit-Message-Best-Practices.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
> [!IMPORTANT]
> This page was copied from https://github.com/dart-lang/sdk/wiki and needs review.
> Please [contribute](../CONTRIBUTING.md) changes to bring it up-to-date -
> removing this header - or send a CL to delete the file.
---

1. First line is a capitalized, short (50 chars or less) summary,
* Please include the component for which the change is being made in the first line
* **[Analyzer]** short (50 chars or less) summary
Expand Down
22 changes: 0 additions & 22 deletions docs/Publishing-package-analyzer.md

This file was deleted.

132 changes: 0 additions & 132 deletions docs/Writing-Web-Browser-Tests.md

This file was deleted.

10 changes: 5 additions & 5 deletions pkg/analyzer/lib/src/summary2/macro_declarations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1616,23 +1616,23 @@ class DeclarationBuilderFromNode {
switch (parentNode) {
case ast.ClassDeclaration():
var parentElement = parentNode.declaredElement!;
var typeElement = parentElement.augmentationTarget ?? parentElement;
var typeElement = parentElement.augmented.declaration;
return _declaredIdentifier(parentNode.name, typeElement);
case ast.EnumDeclaration():
var parentElement = parentNode.declaredElement!;
var typeElement = parentElement.augmentationTarget ?? parentElement;
var typeElement = parentElement.augmented.declaration;
return _declaredIdentifier(parentNode.name, typeElement);
case ast.ExtensionDeclaration():
var parentElement = parentNode.declaredElement!;
var typeElement = parentElement.augmentationTarget ?? parentElement;
var typeElement = parentElement.augmented.declaration;
return _declaredIdentifier2(parentNode.name?.lexeme ?? '', typeElement);
case ast.ExtensionTypeDeclaration():
var parentElement = parentNode.declaredElement!;
var typeElement = parentElement.augmentationTarget ?? parentElement;
var typeElement = parentElement.augmented.declaration;
return _declaredIdentifier(parentNode.name, typeElement);
case ast.MixinDeclaration():
var parentElement = parentNode.declaredElement!;
var typeElement = parentElement.augmentationTarget ?? parentElement;
var typeElement = parentElement.augmented.declaration;
return _declaredIdentifier(parentNode.name, typeElement);
default:
// TODO(scheglov): other parents
Expand Down
Loading

0 comments on commit 8e6839f

Please sign in to comment.