fc7b4dda66
This CL changes the specification parser grammar to support a switch expression that has zero cases (this is a missing update, the feature specification already has it). It also changes several language tests such that they expect a 'syntax error' rather than a 'compile-time error'. This makes no difference for any tool except the specification parser, for which it is needed (in general, a test that is expected to have a compile-time error will parse just fine, so we need a separate test outcome expectation for syntax errors). Change-Id: Ifa00c11ce6c57053bd490e11a41d6e8d7b82a2d2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384600 Reviewed-by: Jonas Jensen <jonasfj@google.com> Commit-Queue: Erik Ernst <eernst@google.com>
15 lines
796 B
Plaintext
15 lines
796 B
Plaintext
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
[ $compiler == spec_parser ]
|
|
class/large_class_declaration_test: Skip # JVM stack overflow.
|
|
closure/type_test: Pass # Marked as RuntimeError for all in language_2.status.
|
|
const/native_factory_test: Skip # Uses `native`.
|
|
double/invalid_test: Skip # Contains illegally formatted double.
|
|
regress/regress1751477_test: Skip # Times out: 9 levels, exponential blowup => 430 secs.
|
|
switch/switch_legacy_test: Skip # Dart 2.19.
|
|
syntax/deep_nesting_expression_test: Skip # JVM stack overflow.
|
|
syntax/deep_nesting_statement_test: Skip # JVM stack overflow.
|
|
variance: Skip # Not yet supported.
|