e30cd0322c
This separates VariableDeclaration from Statement. VariableDeclaration no longer implements Statement and variable declared in a block or in a for-statement are now wrapped by a VariableStatement. Currently there are two VariableStatement implementations; LegacyVariableStatement for variables in the current model, called LegacyVariable, and VariableInitialization for variables used in the new, still experimental, encoding that supports scope computation. This CL is a step towards realigning the AST nodes to the new model in which each kind of variable has its own distinct subclass. (LocalVariable, PositionalParameter, NamedParameter, SyntheticVariable, etc.) Note that it is not the intent to use VariableStatement in ForStatement going forward but that will be handled in a follow-up. TEST=existing. Change-Id: I5b309cd62c9b138f95b74fb054686edffa49a393 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/502681 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
39 lines
2.0 KiB
Plaintext
39 lines
2.0 KiB
Plaintext
# Copyright (c) 2021, 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.
|
|
|
|
# Status file for the modular_suite.dart test suite.
|
|
|
|
coverage/anonymous_methods/expression_explicitly_wrongly_typed: TypeCheckError
|
|
constructor_tearoffs/call_instantiation: TypeCheckError
|
|
enhanced_enums/declared_hashcode: TypeCheckError
|
|
enhanced_enums/declared_index: TypeCheckError
|
|
extensions/extension_setter_error: TypeCheckError
|
|
general/abstract_members: TypeCheckError
|
|
general/bug30695: TypeCheckError
|
|
general/hierarchy/conflict: TypeCheckError
|
|
general/hierarchy/duplicates: TypeCheckError
|
|
general/supertype_conflict: TypeCheckError
|
|
inference/instantiate_tearoff_of_call: TypeCheckError
|
|
inference/mixin_inference_outwards_3: TypeCheckError
|
|
inference/mixin_inference_outwards_4: TypeCheckError
|
|
inference/mixin_inference_unification_1: TypeCheckError
|
|
inference/mixin_inference_unification_2: TypeCheckError
|
|
|
|
# Temporarily unimplemented binary serialization, see https://github.com/dart-lang/sdk/issues/61765
|
|
closure_context_lowering/local_variables: Crash
|
|
closure_context_lowering/parameters: Crash
|
|
closure_context_lowering/this_variable: Crash
|
|
closure_context_lowering/loop_depth_strategy: Crash
|
|
closure_context_lowering/foo42: Crash
|
|
closure_context_lowering/foo45: Crash
|
|
closure_context_lowering/foo48: Crash
|
|
closure_context_lowering/assert_captured_variables: Crash
|
|
closure_context_lowering/late_variable_initializers: Crash
|
|
closure_context_lowering/catch_variables: ExpectationFileMismatchSerialized
|
|
closure_context_lowering/synthetic_variables: Crash
|
|
closure_context_lowering/assert_captured_variables: ExpectationFileMismatchSerialized
|
|
closure_context_lowering/constructor_initializers: ExpectationFileMismatchSerialized
|
|
closure_context_lowering/super_initializing_formal: ExpectationFileMismatchSerialized
|
|
closure_context_lowering/late_field_initializers: Crash
|
|
closure_context_lowering/redirecting_factories: ExpectationFileMismatchSerialized |