dart-sdk/pkg/front_end/testcases
Ilya Yanok 106c4a5e1c Revert "[cfe] Use void for let-expressions for extension property set"
This reverts commit a5fda59219.

Reason for revert: breaks calling extension setters with `?.`, see b/241059207

Original change's description:
> [cfe] Use `void` for let-expressions for extension property set
>
> This pipes the expression type for a generated property setter, such
> that synthesized variables in let expressions created for the generated
> setter expression are typed correctly.
>
> Before this change a let variable created for an extension property set
> would use the value type even though the extension property setter is
> method with a void return type.
>
> Change-Id: I1e7d31eaf1410bb06d55e2845403865e0c7af452
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252742
> Commit-Queue: Johnni Winther <johnniwinther@google.com>
> Reviewed-by: Aske Simon Christensen <askesc@google.com>

TBR=johnniwinther@google.com,askesc@google.com

Change-Id: Iaafd12833939cbd38e09787fcdb5a4c78a964656
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253440
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Ilya Yanok <yanok@google.com>
Reviewed-by: Ilya Yanok <yanok@google.com>
2022-08-02 11:21:44 +00:00
..
agnostic
const_functions [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
constructor_tearoffs [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
dart2js [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
dartdevc [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
dartino
enhanced_enums [cfe] Delay resolution of not inferred redirecting const factories 2022-08-01 17:07:54 +00:00
expression [kernel] Add VariableDeclaration.hasDeclaredInitializer 2022-04-07 14:54:08 +00:00
extension_types [CFE] Enable NNBD and triple shift in textual outline suite 2022-06-21 06:21:03 +00:00
extensions Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
general Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
generic_metadata [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
implicit_getter_calls [cfe] Remove language version from expectation tests 2022-05-30 15:14:43 +00:00
incremental [cfe] Update incremental tests for advanced invalidation coverage 2022-07-18 20:57:18 +00:00
inference Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
inference_new Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
inference_update_1 Ensure that partial inference results aren't refined by later partial inference stages. 2022-05-10 15:10:44 +00:00
instantiate_to_bound [cfe] Remove language version from inference testcases 2022-07-08 12:52:19 +00:00
late_lowering [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
late_lowering_sentinel [CFE] Enable NNBD and triple shift in textual outline suite 2022-06-21 06:21:03 +00:00
macros [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
named_arguments_anywhere Retire the 2.17 language feature experiment flags. 2022-07-11 13:02:22 +00:00
new_const_insertion
nnbd Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
nnbd_mixed Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
no_such_method_forwarders [CFE] Explicitly initialize to null in outlines too 2022-04-25 12:54:53 +00:00
none
nonfunction_type_aliases [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
rasta [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
regress [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
runtime_checks [cfe] Remove language version from expectation tests 2022-05-30 15:14:43 +00:00
runtime_checks_new [cfe] Remove language version from expectation tests 2022-05-30 15:14:43 +00:00
set_literals [cfe] Update test expectations after new async/async* implementation in the VM 2022-06-02 23:47:49 +00:00
static_field_lowering [cfe] Omit line/column from sdk constant coverage 2022-07-13 06:52:14 +00:00
super_parameters Retire the 2.17 language feature experiment flags. 2022-07-11 13:02:22 +00:00
triple_shift [CFE] Enable NNBD and triple shift in textual outline suite 2022-06-21 06:21:03 +00:00
unified_collections [CFE] Spread in Set and Map literals uses .of constructor and allAll methods 2022-07-08 06:50:10 +00:00
unscheduled_experiments
value_class [CFE] Explicitly initialize to null in outlines too 2022-04-25 12:54:53 +00:00
variance [CFE] Explicitly initialize to null in outlines too 2022-04-25 12:54:53 +00:00
expression.status
incremental.status [cfe] Report error for missing concrete super target 2022-06-24 14:04:49 +00:00
incremental_bulk_compiler_full.status
incremental_bulk_compiler_smoke.status
incremental_dartino.status
modular.status [cfe] Remove language version from inference testcases 2022-07-08 12:52:19 +00:00
outline.status [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
README.md
sdk.status
strong.status [CFE] Add fuzz status now (new test) failing (weekly bot #99) 2022-07-12 07:38:02 +00:00
textual_outline.status [cfe] Remove language version from inference testcases 2022-07-08 12:52:19 +00:00
weak.status [CFE] Add fuzz status now (new test) failing (weekly bot #99) 2022-07-12 07:38:02 +00:00

Overview

The testcases in this directory and its subdirectory are all compiled in various different configurations designed to test various aspects of Fasta (or more generally, package:front_end).

The configurations are described below.

The source of truth for these configurations is the file pkg/front_end/testing.json.

Dart 1.0 Compilation

./pkg/front_end/tool/fasta testing -DupdateExpectations=true compile/test1 compile/test2 ...

Dart 1.0 Outlines

./pkg/front_end/tool/fasta testing -DupdateExpectations=true outline/test1 outline/test2 ...

Dart 2.0 (strong mode)

./pkg/front_end/tool/fasta testing -DupdateExpectations=true -DupdateComments=true strong/test1 strong/test2 ...

Note: strong mode configuration additionally parses comments in the test file and can precisely match internal details of the compiler such as the inferred type of an expression or if a warning was emitted at a given location.