Skip to content

Commit

Permalink
docs(transformer): add comment about missing features in arrow functi…
Browse files Browse the repository at this point in the history
…on transform (#5855)
  • Loading branch information
overlookmotel committed Sep 18, 2024
1 parent 8770647 commit 7f05eed
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/oxc_transformer/src/es2015/arrow_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
//!
//! > This plugin is included in `preset-env`, in ES2015
//!
//! ## Missing features
//!
//! Implementation is incomplete at present. Still TODO:
//!
//! * Handle `arguments` in arrow functions.
//! * Handle `new.target` in arrow functions.
//! * Error on arrow functions in class properties.
//! <https://babeljs.io/repl#?code_lz=MYGwhgzhAEDC0G8BQ1oDMD2HoF5oAoBKXAPmgBcALASwgG4kBfJIA&presets=&externalPlugins=%40babel%2Fplugin-transform-arrow-functions%407.24.7>
//! * Error on `super` in arrow functions.
//! <https://babeljs.io/repl#?code_lz=MYGwhgzhAEBiD29oG8C-AoUkYCEwCdoBTADwBciA7AExgSWXWmgFsiyALeagCgEoUTZtHzsArvkrR-0ALwA-aBDEAHIvgB0AM0QBuIRgxA&presets=&externalPlugins=%40babel%2Fplugin-transform-arrow-functions%407.24.7>
//!
//! ## Example
//!
//! Input:
Expand Down

0 comments on commit 7f05eed

Please sign in to comment.