[dart-lang/sdk] ba4bfe: [vm,modular_aot] Support getter and setter selecto...

0 views
Skip to first unread message

Alexander Markov

unread,
11:08 AM (9 hours ago) 11:08 AM
to com...@dartlang.org
Branch: refs/heads/main
Home: https://github.com/dart-lang/sdk
Commit: ba4bfeabdadec1de2320f3982035f9056ef93856
https://github.com/dart-lang/sdk/commit/ba4bfeabdadec1de2320f3982035f9056ef93856
Author: Alexander Markov <alexm...@google.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)

Changed paths:
M pkg/native_compiler/lib/back_end/object_pool.dart
M pkg/native_compiler/lib/snapshot/snapshot.dart

Log Message:
-----------
[vm,modular_aot] Support getter and setter selector names

Add 'get:' and 'set:' prefixes to getter and setter selectors.

Also revise snapshot serialization of private names to support
private getter and setter names. ast.Name is replaced with
VM-specific PrivateName as private getter/setter names
such as get:_foo are considered public by ast.Name
(as they don't start with '_').

Issue: https://github.com/dart-lang/sdk/issues/61635
Change-Id: I7447cb457aa2463836c8cf6af3d12e1998fe325c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481441
Commit-Queue: Alexander Markov <alexm...@google.com>
Reviewed-by: Slava Egorov <veg...@google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/dart-lang/sdk/settings/notifications
Reply all
Reply to author
Forward
0 new messages