Files
sdk/tests/compiler/dartdevc_native
Nicholas Shahan bbe2ac28c9 [dartdevc] Add runtime support for NNBD weak subtype checks
In weak mode when a subtype check fails it is performed again with more lenient
rules. If the second check passes a warning is printed to the console and it is
allowed to pass. If the second check fails it is treated as a failure.

- Add a method to set the runtime mode.
- Update test expectations for more permissive subtype checks.

Issue: #38128
Change-Id: I7d55bfffad16077c50b6b2c3bf6df8367e6f7785
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/123300
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2019-10-30 22:13:25 +00:00
..