LivelyKernel / LivelyKernel/lively4-core
aexpr should keep Object.defineProperty config an object
- Dominant language
- JavaScript
- Stars
- 89
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
```
Object.defineProperty(_recorder_.tempfile_js, 'expect', {
get() {
return expect;
},
```
gets rewritten to:
```
Object.defineProperty(_recorder_._src_client_reactive_test_active_expression_proxies_active_expression_proxies_spec_js, 'expect', _wrap({
```
But it should be an Object, and a Proxy raised an error.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Object.defineProperty example from the issue and trace the aexpr rewrite that changes its descriptor argument to _wrap({...}). Confirm how the rewritten call causes the Proxy error. Done means the descriptor remains an object through this transformation and the example no longer raises that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100