ba777e22e4
Context messages are added to clarify to the user the following reasons why field promotion might fail: - Field promotion is not supported prior to Dart 3.2. - The property in question is not a field. - The property in question is not private. - The property in question is an external field. - The property in question is not a final field. The final reason why field promotion might fail (interference with another field or getter of the same name) will be addressed in a future CL. Change-Id: Ic860af51d98d8bc84b1103d3ed353b0c4fed39b0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327707 Reviewed-by: Phil Quitslund <pquitslund@google.com> Reviewed-by: Morgan :) <davidmorgan@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
13 lines
642 B
Plaintext
13 lines
642 B
Plaintext
# Copyright (c) 2022, 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.
|
|
# Sections in this file should contain "$compiler == dart2wasm".
|
|
|
|
[ $compiler == dart2wasm ]
|
|
inference_update_2/why_not_promoted_external_error_test: SkipByDesign # Non-JS-interop external members are not supported
|
|
number/web_int_literals_test: SkipByDesign # WASM has real integers.
|
|
vm/*: SkipByDesign # Tests for the VM.
|
|
|
|
[ $compiler == dart2wasm && $runtime == d8 ]
|
|
import/conditional_string_test: SkipByDesign # No XHR in d8
|