Commit e91aec8
[vm] Support non-class 'constructors' when calculating const coverage
With https://dart-review.googlesource.com/c/sdk/+/461160 const coverage
"constructors" can include extension type "constructors".
The CL was reverted
(https://dart-review.googlesource.com/c/sdk/+/461480) because it made
the VM crash.
This CL should make it work.
TEST=covered by existing tests
Change-Id: I3a24932a60cc97780e1a1f27bef474e825172e0e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/461500
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>1 parent 3ea8503 commit e91aec8
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
| 238 | + | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| |||
0 commit comments