dart-sdk/pkg/front_end
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
..
benchmarks [CFE] Benchmarks for list copy, mapping etc. 2022-01-24 14:40:26 +00:00
lib Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
outline_extraction_testcases [CFE] Remove many uses of .packages files in tests 2022-06-22 07:34:49 +00:00
parser_testcases [parser] More recovery of await in non-async context 2022-06-29 07:11:06 +00:00
test [cfe] Delay resolution of not inferred redirecting const factories 2022-08-01 17:07:54 +00:00
testcases Revert "[cfe] Use void for let-expressions for extension property set" 2022-08-02 11:21:44 +00:00
tool [CFE] Cache unevaluated constant results in equivalence testing 2022-07-12 10:14:45 +00:00
analysis_options.yaml
analysis_options_no_lints.yaml [cfe] Add initial support for macro precompilation in incremental compiler 2022-03-09 22:14:05 +00:00
error_recovery.yaml
LICENSE
messages.status [cfe] Handle augment super expressions 2022-07-04 12:37:50 +00:00
messages.yaml [cfe] Handle augment super expressions 2022-07-04 12:37:50 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py
pubspec.yaml [pkg] prefer 'any' deps for package dev dependencies 2022-05-27 01:34:59 +00:00
README.md
testing.json [cfe] Remove language version from inference testcases 2022-07-08 12:52:19 +00:00
testing_with_lints.json Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00

Front end for Dart

This package provides a low-level API for use by compiler back ends that wish to implement the Dart language. It is intended for eventual use by dev_compiler, dart2js, and the Dart VM. In addition, it will share implementation details with the analyzer package--this will be accomplished by having the analyzer package import (and re-export) parts of this package's private implementation.

End-users should use the dart analyze command-line tool to analyze their Dart code.

Integrators that want to write tools that analyze Dart code should use the analyzer package.

Note: A previous version of this package was published on pub.dev. It has now been marked DISCONTINUED as it is not intended for direct consumption, as per the notes above.