4bebe882be
Some named elements were colliding with existing properties on record object instances. Use a symbol in the runtime library for the shape and values properties. Ensure that the `.constructor` and `.prototype` getters are renamed to match the expectation when compiling the access. Add regression test for all 4 named elements. Fixes: https://github.com/dart-lang/sdk/issues/54375 Change-Id: I7f3577455bfcff7dece6350e8c7e3ee7ffdbbac6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/342703 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@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.