dart-sdk/pkg/compiler/lib
Stephen Adams 5e267854e1 [dart2js] Disentangle instance field setter and static field initializer
A FieldEntity is used as the entity for generating the setter of an
instance field (when a check is required), and as the entity for the
initializer expression for a static or top-level field.

I think it is a bit clearer to have a separate method for each case
rather than one method with conditional paths.

Change-Id: I32e63c3f3566a63e3d38315cab17d613f006405e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253562
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Mayank Patke <fishythefish@google.com>
2022-08-03 17:06:28 +00:00
..
src [dart2js] Disentangle instance field setter and static field initializer 2022-08-03 17:06:28 +00:00
compiler_api.dart [dartj2s] (tech-debt) better error locations for sources from dill files. 2022-07-19 17:10:06 +00:00
compiler_api_unmigrated.dart [dart2js] Migrate common.dart 2022-04-23 03:13:59 +00:00