blob: b8c6de52d83cb4850113b47e06fcf5389cdc62b6 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/rasta/issue_000042.dart:6:13: Error: Unexpected token ','.
// for (var x, y in []) {}
// ^
//
// pkg/front_end/testcases/rasta/issue_000042.dart:6:8: Error: A for-in loop can't have more than one loop variable.
// for (var x, y in []) {}
// ^^^
//
// pkg/front_end/testcases/rasta/issue_000042.dart:7:8: Error: A continue statement can't be used outside of a loop or switch statement.
// Try removing the continue statement.
// L: { continue L; }
// ^^^^^^^^
//
// pkg/front_end/testcases/rasta/issue_000042.dart:7:8: Error: A 'continue' label must be on a loop or a switch member.
// L: { continue L; }
// ^^^^^^^^
//
// pkg/front_end/testcases/rasta/issue_000042.dart:8:18: Error: A continue statement can't be used outside of a loop or switch statement.
// Try removing the continue statement.
// L: if (true) { continue L; }
// ^^^^^^^^
//
// pkg/front_end/testcases/rasta/issue_000042.dart:8:18: Error: A 'continue' label must be on a loop or a switch member.
// L: if (true) { continue L; }
// ^^^^^^^^
//
// pkg/front_end/testcases/rasta/issue_000042.dart:11:7: Error: A 'continue' label must be on a loop or a switch member.
// continue L;
// ^^^^^^^^
//
import self as self;
import "dart:core" as core;
static method main() dynamic {
{
invalid-expression "pkg/front_end/testcases/rasta/issue_000042.dart:6:8: Error: A for-in loop can't have more than one loop variable.
for (var x, y in []) {}
^^^";
for (final dynamic #t1 in <dynamic>[]) {
invalid-expression "pkg/front_end/testcases/rasta/issue_000042.dart:6:8: Error: A for-in loop can't have more than one loop variable.
for (var x, y in []) {}
^^^";
dynamic x;
dynamic y;
}
}
invalid-expression "pkg/front_end/testcases/rasta/issue_000042.dart:7:8: Error: A 'continue' label must be on a loop or a switch member.
L: { continue L; }
^^^^^^^^";
invalid-expression "pkg/front_end/testcases/rasta/issue_000042.dart:8:18: Error: A 'continue' label must be on a loop or a switch member.
L: if (true) { continue L; }
^^^^^^^^";
invalid-expression "pkg/front_end/testcases/rasta/issue_000042.dart:11:7: Error: A 'continue' label must be on a loop or a switch member.
continue L;
^^^^^^^^";
try {
}
on core::NoSuchMethodError catch(no-exception-var) {
}
}