dart-lang / dart-lang/language
Dynamic property access
Open
feature
- Dominant language
- TeX
- Stars
- 2.9k
- Forks
- 239
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 14
Description
There is currently no syntax in dart fr dynamic property access without the dart:mirrors library.
In javscript we can do something like obj[prop] to access a property dynamically. dart may also have a feature like this.
Contributor guide
Research direction
The issue names no files or tests. Start by reviewing Dart's existing property-access rules and the dart:mirrors limitation, then compare the requested behavior with JavaScript's obj[prop] syntax. Done requires a concrete language-design proposal with specified syntax and behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100