Files
sdk/pkg/vm
Alexander Markov 5cd6606847 [vm/aot/tfa/nnbd] Fix handling of non-nullable types in NNBD strong mode
This change contains the following fixes for NNBD strong mode in TFA:

* TypesBuilder.fromStaticType now correctly applies nullability of
  TypeParameterType even if bound is non-nullable.

* UnknownType is introduced to represent a type argument not known at
  compile time. Previously AnyType was used for that purpose, and it
  could pass isSubtypeOfRuntimeType check for non-nullable Object type.

Fixes https://github.com/dart-lang/sdk/issues/41452

Change-Id: Ie836c99b38ad288aa68d9aae48e50844f9f949d5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/143310
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-04-14 17:14:51 +00:00
..

This package hosts VM specific Dart code and helper scripts.