Skip to content

Commit

Permalink
dep kind
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Apr 20, 2020
1 parent 408af36 commit f8bcb25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boa/src/builtins/function_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ pub enum FunctionBody {
/// <https://tc39.es/ecma262/#sec-ecmascript-function-objects>
#[derive(Finalize, Clone)]
pub struct Function {
/// Kind, this *may* not be needed but will keep for now
/// @deprecated
///
/// Functions were originally the same as Object, so `kind` was needed to differentiate
pub kind: ObjectKind,
/// Internal Slots
pub internal_slots: Box<HashMap<String, Value>>,
Expand Down

0 comments on commit f8bcb25

Please sign in to comment.