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

Unified Diff: pkg/dev_compiler/lib/src/compiler/ast_builder.dart

Issue 2768693003: fix errors and warnings in DDC (Closed)
Patch Set: update test expectation Created 3 years, 9 months 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
« no previous file with comments | « no previous file | pkg/dev_compiler/lib/src/compiler/code_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/ast_builder.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/ast_builder.dart b/pkg/dev_compiler/lib/src/compiler/ast_builder.dart
index 352efdbaa52afb1ec15650767f9fb858a240ae48..b6e6364fdedb5d7ae2ca00c9eeae35003eaad0f8 100644
--- a/pkg/dev_compiler/lib/src/compiler/ast_builder.dart
+++ b/pkg/dev_compiler/lib/src/compiler/ast_builder.dart
@@ -322,16 +322,6 @@ class AstBuilder {
return application(parenthesize(l), <Expression>[e1]);
}
- static SimpleFormalParameter simpleFormal(SimpleIdentifier v, TypeName t) {
- return RawAstBuilder.simpleFormalParameter(v, t);
- }
-
- static FunctionTypedFormalParameter functionTypedFormal(
- TypeName ret, SimpleIdentifier v, List<FormalParameter> params) {
- FormalParameterList ps = formalParameterList(params);
- return RawAstBuilder.functionTypedFormalParameter(ret, v, ps);
- }
-
static FormalParameter requiredFormal(NormalFormalParameter fp) {
return RawAstBuilder.requiredFormalParameter(fp);
}
@@ -560,17 +550,6 @@ class RawAstBuilder {
return astFactory.returnStatement(ret, e, semi);
}
- static SimpleFormalParameter simpleFormalParameter(
- SimpleIdentifier v, TypeName t) {
- return astFactory.simpleFormalParameter(null, <Annotation>[], null, t, v);
- }
-
- static FunctionTypedFormalParameter functionTypedFormalParameter(
- TypeName ret, SimpleIdentifier v, FormalParameterList ps) {
- return astFactory.functionTypedFormalParameter(
- null, <Annotation>[], ret, v, null, ps);
- }
-
static FormalParameter requiredFormalParameter(NormalFormalParameter fp) {
return fp;
}
« no previous file with comments | « no previous file | pkg/dev_compiler/lib/src/compiler/code_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698