402a05de1b
We now no longer need the `expr2` function to test expressions whose type is RecordType. Also added unit tests of the type parser in mini_types.dart (which was previously tested only by virtue of its use in other tests). Change-Id: I5d351f3ff924676b4d84e65c8949f42feca0dab9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/267522 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>