Johnni Winther
|
fdc765faad
|
[cfe] Make TypeParameter.defaultType non-nullable
TEST=existing
Change-Id: I0a8fdf09f742b55357411f12dc6164d4050bb83c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196283
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
|
2021-04-21 13:51:50 +00:00 |
|
Dmitry Stefantsov
|
c191551fac
|
[cfe] Remove BottomType
TEST=Covered by existing tests.
Change-Id: Ied8be1874164e68e0a3a48e1b2f9a33310071381
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/183009
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
|
2021-02-24 13:21:55 +00:00 |
|
Johnni Winther
|
13704520a0
|
[cfe] Indicate nullability as assignability issue when appropriate
Closes #43592.
Bug: https://github.com/dart-lang/sdk/issues/43592
Change-Id: Ib57a70526a39a7125238546f08e1a2e97c279f0b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168860
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
|
2020-10-29 16:10:03 +00:00 |
|
Dmitry Stefantsov
|
3b6935f30e
|
[cfe] Report NNBD warnings as errors in strong mode
Closes #40981.
Bug: https://github.com/dart-lang/sdk/issues/40981
Change-Id: I95715ab973a6f09bf7f8b4e090e5a80663cd4861
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/139463
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
|
2020-03-19 11:26:39 +00:00 |
|
Johnni Winther
|
80dacdf3a0
|
[kernel] Add Class.hasConstConstructor and Member.isNonNullableByDefault predicates
Closes #40440
Change-Id: I2776c165d23e2aa2bf5d7515741bd0f0d067b26d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134292
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
|
2020-02-06 12:27:37 +00:00 |
|
Johnni Winther
|
54c8066f6f
|
[cfe] Add new flags to AsExpression and IsExpression
Change-Id: I31eba9b4ced051a1067945fd68e60a09b1fa6ed7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133100
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
|
2020-01-31 19:55:22 +00:00 |
|
Dmitry Stefantsov
|
5e38b59740
|
[cfe] Don't allow implicit tear-offs of .call on nullable receivers
Closes #39710.
Bug: http://dartbug.com/39710
Change-Id: I3556fac1de1bd6874bbb052e05accebac9619c8a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133982
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
|
2020-01-31 09:39:21 +00:00 |
|
Johnni Winther
|
679705faf6
|
[cfe] Include nullability in implicit tearoff
Change-Id: If350915c13840c06d9fb2191972edf52758de252
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/129287
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
|
2020-01-03 15:19:29 +00:00 |
|
Dmitry Stefantsov
|
578e22fd10
|
[cfe] Fix bug with assigning an object with .call to a Function
Change-Id: I3066a2453737b1e88a778d660b57b93986164a2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128734
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
|
2019-12-18 13:19:11 +00:00 |
|
Dmitry Stefantsov
|
c85979a280
|
[cfe] Implement the NNBD variation of the assignability property
Change-Id: I802e5668952f918919bd4fda4fd0102623a20ae7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128544
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com>
|
2019-12-16 12:38:27 +00:00 |
|