a0fce7be4d
Added synthetic getters for records that are attached to the shape class. It is a bit clunky since there are assumptions that a method came from something defined in Kernel. - There is no source information for the synthetic method - There are assumptions that some information can be derived by reference to Kernel definitions. We do get a lot for free doing it this way, e.g. tree-shaking of unused getters and call-through stubs of getters used as a dynamic method invocation. Added a test that (1) uses names that require the interceptor calling convention and (2) requires dart2js to generate call-through stubs. Issue: #49718 Change-Id: I682c1f005e87765b0e3bf7e6550c945d30b56b8d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/280960 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Mayank Patke <fishythefish@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.