Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: pkg/analyzer/lib/src/generated/static_type_analyzer.dart

Issue 2489363002: Rename setters synthetic/static to isSynthetic/isStatic. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/generated/static_type_analyzer.dart
diff --git a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
index 47e5599b9d5bee04b68a4c147da5c8e16745ffd6..53745d27032eba5de4cbc32b64e3217afe28eba6 100644
--- a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
+++ b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart
@@ -1630,7 +1630,7 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
type = type.substitute2(freshTypeVars, typeVars);
var function = new FunctionElementImpl("", -1);
- function.synthetic = true;
+ function.isSynthetic = true;
function.returnType = type.returnType;
function.typeParameters = freshVarElements;
function.shareParameters(type.parameters);
@@ -2002,7 +2002,7 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> {
// Adjust the expected parameter type to have this return type.
var function = new FunctionElementImpl(firstParamType.name, -1)
- ..synthetic = true
+ ..isSynthetic = true
..shareParameters(firstParamType.parameters)
..returnType = paramReturnType;
function.type = new FunctionTypeImpl(function);
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/generated/testing/element_factory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698