Skip to content

Commit

Permalink
Docs: Remove forgotten TODO related to property accessors
Browse files Browse the repository at this point in the history
property accessors were done in #987
  • Loading branch information
RageKnify committed Jan 20, 2021
1 parent f955c4c commit 03cf4a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion boa/src/value/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ impl Value {

/// Resolve the property in the object and get its value, or undefined if this is not an object or the field doesn't exist
/// get_field receives a Property from get_prop(). It should then return the `[[Get]]` result value if that's set, otherwise fall back to `[[Value]]`
/// TODO: this function should use the get Value if its set
pub fn get_field<K>(&self, key: K, context: &mut Context) -> Result<Self>
where
K: Into<PropertyKey>,
Expand Down

0 comments on commit 03cf4a4

Please sign in to comment.