Commit 47c27f21 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

introduce new is_readonly method

This is work towards divorcing the idea of being an lvalue from being writable.
We currently use is_lvalue() to decide whether, e.g., something is valid to
appear on the LHS of an assignment. This is clearly wrong, but we've got by
until now. With some upcoming changes to how function parameters work, this is
going to cause a bit of difficulty interoperating with isundefined. We try to
head off this upcoming mess in this commit and the ones following.
parent 8e3563a0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment