dart-sdk/tests/web/regress/issue
Nate Biggs ef75007c2f [dart2js] Fix as-check type registration.
We would expect failing as checks to throw in all modes (unless --omit-as-casts is provided). However, the new test program fails in production mode. This is because we are not registering the type usage of the function's type parameter. This leads us to drop the as check completely later on.

We should be doing subtype checks with nullability if we want to consider an as test omitted.

Golem patch results: https://golem.corp.goog/Comparison?repository=dart#targetA%3Ddart2js%3BmachineTypeA%3Dlinux-x64%3BrevisionA%3D107840%3BpatchA%3Dnatebiggs--dart2js--Fix-as-check-type-registration.-7%3BtargetB%3Ddart2js%3BmachineTypeB%3Dlinux-x64%3BrevisionB%3D107839%3BpatchB%3DNone

Fixed: https://github.com/dart-lang/sdk/issues/54419
Change-Id: If93f78a939a690f05f5398c1a5ca971df1fc9243
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343821
Reviewed-by: Mayank Patke <fishythefish@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Nate Biggs <natebiggs@google.com>
2024-01-09 00:04:50 +00:00
..
3_test.dart
7_test.dart
12_test.dart
33_test.dart
43_test.dart
881_test.dart
2913_test.dart
4434_lib.dart
4434_test.dart
4492_test.dart
4515_1_test.dart
4515_2_test.dart
4515_3_test.dart
4639_test.dart
10216a_test.dart
10216b_test.dart
11673_test.dart
12320_test.dart
16400_test.dart
16407_test.dart
16967_test.dart
17094_test.dart
17645_test.dart
17856_test.dart
18175_test.dart
18383_test.dart
19191_test.dart
21351_test.dart
21579_test.dart
22487_test.dart
22776_test.dart
22868_test.dart
22917_test.dart
23404_test.dart
23432_test.dart
23486_helper.dart
23486_test.dart
23804_test.dart
23828_test.dart
26243_test.dart
27198_test.dart
27199_test.dart
27323_test.dart
27354_test.dart
28749_test.dart
28919_test.dart
29130_test.dart
31803_test.dart
32069_test.dart
32770a_test.dart
32770b_test.dart
32770c_test.dart
32774_test.dart
32828_test.dart
32853_test.dart
32928_test.dart
32969_test.dart
32997a_lib.dart
32997a_test.dart
32997b_lib.dart
32997b_test.dart
33296_test.dart
33572_test.dart
34156_test.dart
34701_test.dart
35341_test.dart
35356_test.dart
35853_test.dart
35965a_test.dart
36222_test.dart
36562_test.dart
37494_test.dart
37576_test.dart
38005_test.dart
38949_test.dart
40152a_test.dart
40349_test.dart
40902_test.dart
41449a_test.dart
41449b_test.dart
41449c_test.dart
41449d_test.dart
41781_test.dart
42088_test.dart
42189_test.dart
42281_test.dart
42501_test.dart
42531_test.dart
43520_safari_test.dart
44818_test.dart
45046_test.dart
45413_test.dart
45943_test.dart
46417_test.dart
46589_test.dart
47691_test.dart
48277a_test.dart
48277b_test.dart
48317_test.dart
48383_test.dart
48422_test.dart
48442_test.dart
48571_test.dart
49129_test.dart
49287_data.dart
49287_generator.dart
49287_test.dart
49502_libA.dart
49502_libB.dart
49502_libM.dart
49502_test.dart
49588_test.dart
49898_test.dart
51179_test.dart
51527_test.dart
51558_test.dart
51725_test.dart
51899_test.dart
51955_lib1.dart
51955_lib2.dart
51955_test.dart
52276_lib.dart
52276_test.dart
52438_test.dart
52619_test.dart
52825_test.dart
52968_test.dart
53078a_test.dart
53082_test.dart
53355_test.dart
53358_test.dart
53944_test.dart
54209_test.dart [dart2js] Fix implicitly used free type variable not being registered in closure scope. 2023-12-13 22:42:57 +00:00
54317_test.dart [dart2js] Use correct futureValueType. 2023-12-13 17:50:00 +00:00
54329a_test.dart [dart2js] Prevent type expressions being hoisted above guards 2024-01-05 19:03:29 +00:00
54329b_test.dart [dart2js] Prevent type expressions being hoisted above guards 2024-01-05 19:03:29 +00:00
54373_test.dart [dart2js, rti] Add missing cases for record types. 2023-12-20 23:21:33 +00:00
54419_test.dart [dart2js] Fix as-check type registration. 2024-01-09 00:04:50 +00:00
54451_test.dart [dart2js] Fix scope visitor missing not visiting structural parameter default type. 2023-12-26 21:06:29 +00:00
54453_test.dart [dart2js] Handle MarkerValue in NegateValue binary operations. 2023-12-28 00:36:22 +00:00
190814734a_test.dart
190814734b_test.dart
192964907a_test.dart
192964907b_test.dart
230108748_test.dart
290868787a_test.dart
290868787b_test.dart
295131730_test.dart