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

Unified Diff: pkg/analyzer/lib/src/generated/testing/test_type_provider.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/testing/test_type_provider.dart
diff --git a/pkg/analyzer/lib/src/generated/testing/test_type_provider.dart b/pkg/analyzer/lib/src/generated/testing/test_type_provider.dart
index 6a36a8beb6cd9589642e66a5a2bf457e056409e9..5e4e43da22e69c4ac190c2f643365895900be7c9 100644
--- a/pkg/analyzer/lib/src/generated/testing/test_type_provider.dart
+++ b/pkg/analyzer/lib/src/generated/testing/test_type_provider.dart
@@ -516,7 +516,7 @@ class TestTypeProvider extends TypeProviderBase {
ClassElementImpl typeClass = ElementFactory.classElement2("Type");
typeClass.constructors = <ConstructorElement>[
ElementFactory.constructorElement(typeClass, null, false)
- ..synthetic = true
+ ..isSynthetic = true
];
_typeType = typeClass.type;
}
@@ -611,12 +611,12 @@ class TestTypeProvider extends TypeProviderBase {
fromEnvironment.isCycleFree = true;
numElement.constructors = <ConstructorElement>[
ElementFactory.constructorElement(numElement, null, false)
- ..synthetic = true
+ ..isSynthetic = true
];
intElement.constructors = <ConstructorElement>[fromEnvironment];
doubleElement.constructors = <ConstructorElement>[
ElementFactory.constructorElement(doubleElement, null, false)
- ..synthetic = true
+ ..isSynthetic = true
];
ConstFieldElementImpl varINFINITY = ElementFactory.fieldElement(
"INFINITY", true, false, true, _doubleType,
« no previous file with comments | « pkg/analyzer/lib/src/generated/testing/element_factory.dart ('k') | pkg/analyzer/lib/src/generated/type_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698