490a4b65e2
External fields whose type is non-nullable don't need to be initialized (in fact they can't be initialized), so we shouldn't report "uninitialized field" errors for them. This CL also adds some basic tests of the functionality of external fields, making sure that the getters and setters they introduce are properly resolved and that their types are properly respected by inheritance checks. Change-Id: I9b08727ab0d45d24801af3721e332c7ec21d08bc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/157840 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.