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

Unified Diff: pkg/analyzer/test/generated/all_the_rest_test.dart

Issue 2016533002: Fix type errors introduced by 8fdeb785fdaba5ea2983a70246bb087a14e1125b (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/all_the_rest_test.dart
diff --git a/pkg/analyzer/test/generated/all_the_rest_test.dart b/pkg/analyzer/test/generated/all_the_rest_test.dart
index 9445d72b08eedd4c524fc3f9efee7015eca2f02f..c4a47ca220bc487a37d30fd9e45132b192785e64 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -3962,7 +3962,7 @@ void f() {
_assertNthStatementExits(source, 0);
}
- void _assertHasReturn(bool expectedResult, String source, int n) {
+ void _assertHasReturn(bool expectedResult, Source source, int n) {
LibraryElement element = resolve2(source);
CompilationUnit unit = resolveCompilationUnit(source, element);
FunctionDeclaration function = unit.declarations.last;
@@ -3973,13 +3973,13 @@ void f() {
// Assert that the [n]th statement in the last function declaration of
// [source] exits.
- void _assertNthStatementExits(String source, int n) {
+ void _assertNthStatementExits(Source source, int n) {
_assertHasReturn(true, source, n);
}
// Assert that the [n]th statement in the last function declaration of
// [source] does not exit.
- void _assertNthStatementDoesNotExit(String source, int n) {
+ void _assertNthStatementDoesNotExit(Source source, int n) {
_assertHasReturn(false, source, n);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698